From 53a1689bac32bdf4d88416789037bc5a9b71f16b Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sun, 11 Jul 2021 22:57:20 +0200 Subject: [PATCH] Fix unit tests --- pkg/config/config_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index dc4271c..78f1ff6 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -49,7 +49,7 @@ func TestFromFlags(t *testing.T) { []string{}, Config{ Files: []string{}, - KubernetesVersion: "1.18.0", + KubernetesVersion: "master", NumberOfWorkers: 4, OutputFormat: "text", SchemaLocations: nil, @@ -62,7 +62,7 @@ func TestFromFlags(t *testing.T) { Config{ Files: []string{}, Help: true, - KubernetesVersion: "1.18.0", + KubernetesVersion: "master", NumberOfWorkers: 4, OutputFormat: "text", SchemaLocations: nil, @@ -74,7 +74,7 @@ func TestFromFlags(t *testing.T) { []string{"-skip", "a,b,c"}, Config{ Files: []string{}, - KubernetesVersion: "1.18.0", + KubernetesVersion: "master", NumberOfWorkers: 4, OutputFormat: "text", SchemaLocations: nil, @@ -86,7 +86,7 @@ func TestFromFlags(t *testing.T) { []string{"-summary", "-verbose", "file1", "file2"}, Config{ Files: []string{"file1", "file2"}, - KubernetesVersion: "1.18.0", + KubernetesVersion: "master", NumberOfWorkers: 4, OutputFormat: "text", SchemaLocations: nil,