Skip to content

Commit

Permalink
Update test .expect() to match description
Browse files Browse the repository at this point in the history
  • Loading branch information
John Schulz committed Mar 12, 2020
1 parent 53d0ce3 commit 45717e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/apis/fleet/delete_agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function({ getService }: FtrProviderContext) {
.delete(`/api/ingest_manager/fleet/agents/agent1`)
.auth(users.fleet_user.username, users.fleet_user.password)
.set('kbn-xsrf', 'xx')
.expect(403);
.expect(404);

expect(apiResponse).not.to.eql({
success: true,
Expand Down

0 comments on commit 45717e2

Please sign in to comment.