diff --git a/packages/package_test.go b/packages/package_test.go index c65c64c1e..f22799414 100644 --- a/packages/package_test.go +++ b/packages/package_test.go @@ -56,8 +56,8 @@ var packageTests = []struct { Conditions: &Conditions{ Kibana: &KibanaConditions{Version: ">=1.2.3 <=4.5.6"}, }, + Categories: []string{"custom", "foo"}, }, - Categories: []string{"custom", "foo"}, }, false, "invalid category ", @@ -67,8 +67,8 @@ var packageTests = []struct { BasePackage: BasePackage{ Title: &title, Description: "my description", + Categories: []string{"custom", "web"}, }, - Categories: []string{"custom", "web"}, }, false, "missing format_version", @@ -78,8 +78,8 @@ var packageTests = []struct { BasePackage: BasePackage{ Title: &title, Description: "my description", + Categories: []string{"custom", "web"}, }, - Categories: []string{"custom", "web"}, FormatVersion: "1.0", }, false, @@ -91,8 +91,8 @@ var packageTests = []struct { Title: &title, Description: "my description", Version: "1.0", + Categories: []string{"custom", "web"}, }, - Categories: []string{"custom", "web"}, FormatVersion: "1.0.0", }, false, @@ -104,8 +104,8 @@ var packageTests = []struct { Title: &title, Description: "my description", Version: "1.2.3", + Categories: []string{"custom", "web"}, }, - Categories: []string{"custom", "web"}, FormatVersion: "1.0.0", }, true,