Skip to content

Commit bdd6269

Browse files
Fix other test fields
1 parent b56fa6c commit bdd6269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/fleetctl/gitops_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ func TestGitOpsTeamSofwareInstallers(t *testing.T) {
12621262
{"testdata/gitops/team_software_installer_install_not_found.yml", "no such file or directory"},
12631263
{"testdata/gitops/team_software_installer_post_install_not_found.yml", "no such file or directory"},
12641264
{"testdata/gitops/team_software_installer_no_url.yml", "software URL is required"},
1265-
{"testdata/gitops/team_software_installer_invalid_self_service_value.yml", "\"packages\" must be a bool, found string"},
1265+
{"testdata/gitops/team_software_installer_invalid_self_service_value.yml", "\"packages.self_service\" must be a bool, found string"},
12661266
}
12671267
for _, c := range cases {
12681268
t.Run(filepath.Base(c.file), func(t *testing.T) {
@@ -1383,7 +1383,7 @@ func TestGitOpsTeamVPPApps(t *testing.T) {
13831383
{"testdata/gitops/team_vpp_valid_empty.yml", "", time.Now().Add(-24 * time.Hour)},
13841384
{"testdata/gitops/team_vpp_valid_app.yml", "VPP token expired", time.Now().Add(-24 * time.Hour)},
13851385
{"testdata/gitops/team_vpp_invalid_app.yml", "app not available on vpp account", time.Now().Add(24 * time.Hour)},
1386-
{"testdata/gitops/team_vpp_incorrect_type.yml", "\"app_store_apps\" must be a string, found number", time.Now().Add(24 * time.Hour)},
1386+
{"testdata/gitops/team_vpp_incorrect_type.yml", "\"app_store_apps.app_store_id\" must be a string, found number", time.Now().Add(24 * time.Hour)},
13871387
{"testdata/gitops/team_vpp_empty_adamid.yml", "software app store id required", time.Now().Add(24 * time.Hour)},
13881388
}
13891389

0 commit comments

Comments
 (0)