Skip to content

Commit

Permalink
�fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanrathier committed Sep 19, 2024
1 parent 13e6773 commit ad9f955
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/go/pkg/validator/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,15 @@ func TestValidateFile(t *testing.T) {
"bad_deployment_mode": {
"manifest.yml",
[]string{
`field policy_templates.0.deployment_modes.agentless: Additional property organization is required`,
`field policy_templates.0.deployment_modes.agentless: Additional property division is required`,
`field policy_templates.0.deployment_modes.agentless: Additional property team is required`,
`field policy_templates.0.deployment_modes: Additional property default is not allowed`,
},
},
"bad_deployment_mode_without_identities": {
"manifest.yml",
[]string{
`field policy_templates.0.deployment_modes: Additional property default is not allowed`,
`field policy_templates.0.deployment_modes.agentless: Additional property organization is required`,
`field policy_templates.0.deployment_modes.agentless: Additional property division is required`,
`field policy_templates.0.deployment_modes.agentless: Additional property team is required`,
},
},
"bad_input_dataset_vars": {
Expand Down

0 comments on commit ad9f955

Please sign in to comment.