Skip to content

Commit

Permalink
Fixing saved object api error assertations
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb committed Mar 7, 2019
1 parent 82377a3 commit 74d5df2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ export function exportTestSuiteFactory(esArchiver: any, supertest: SuperTest<any
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_get ${type}, missing action:saved_objects/${type}/bulk_get`,
message: `Unable to bulk_get ${type}, missing saved_object:${type}/bulk_get`,
});
return;
}
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to find ${type}, missing action:saved_objects/${type}/find`,
message: `Unable to find ${type}, missing saved_object:${type}/find`,
});
};

Expand Down

0 comments on commit 74d5df2

Please sign in to comment.