Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Apr 17, 2024
1 parent 76a2334 commit 70a26f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/server/fleet_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,7 @@ func Test_SmokeTest_Verify_v85Migrate(t *testing.T) {
outputNames = append(outputNames, name)
}
require.Len(t, outputNames, 1)
p = []byte(fmt.Sprintf(`{"script":{"lang": "painless", "source": "ctx._source['outputs'][params.output].api_key == ''; ctx._source['outputs'][params.output].api_key_id == '';", "params": {"output": "%s"}}}`, outputNames[0]))
p = []byte(fmt.Sprintf(`{"script":{"lang": "painless", "source": "ctx._source['outputs'][params.output].api_key = ''; ctx._source['outputs'][params.output].api_key_id = '';", "params": {"output": "%s"}}}`, outputNames[0]))
t.Logf("Attempting to remove api_key attribute from: %s, body: %s", id, string(p))
err = srv.bulker.Update(
ctx,
Expand Down

0 comments on commit 70a26f7

Please sign in to comment.