Skip to content

Commit

Permalink
Fix test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dantecatalfamo committed Oct 31, 2024
1 parent 4769e28 commit c5e2171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/service/integration_mdm_profiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ func (s *integrationMDMTestSuite) TestAppConfigMDMCustomSettings() {
}
}`), http.StatusUnprocessableEntity)
msg := extractServerErrorText(res.Body)
require.Contains(t, msg, `For each profile, only one of "labels_exclude_any", "labels_include_all" or "labels" can be included.`)
require.Contains(t, msg, `For each profile, only one of "labels_exclude_any", "labels_include_all", "labels_include_any" or "labels" can be included.`)

res = s.Do("PATCH", "/api/latest/fleet/config", json.RawMessage(`{
"mdm": {
Expand Down

0 comments on commit c5e2171

Please sign in to comment.