From 395b664228b77093e9ee8a3fc32f8cad6bf6ee08 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Tue, 9 Jan 2024 12:05:23 -0500 Subject: [PATCH] internal/cmd: Add kubernetes spec to the golden file tests --- internal/cmd/generate_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/cmd/generate_test.go b/internal/cmd/generate_test.go index 34563c9..fa879c2 100644 --- a/internal/cmd/generate_test.go +++ b/internal/cmd/generate_test.go @@ -41,6 +41,11 @@ func TestGenerate_WithConfig(t *testing.T) { configPath: "testdata/edgecase/generator_config.yml", goldenFilePath: "testdata/edgecase/provider_code_spec.json", }, + "Kubernetes API": { + oasSpecPath: "testdata/kubernetes/openapi_spec.json", + configPath: "testdata/kubernetes/generator_config.yml", + goldenFilePath: "testdata/kubernetes/provider_code_spec.json", + }, } for name, testCase := range testCases { name, testCase := name, testCase