Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Feb 9, 2022
1 parent 6e36da4 commit 0ab865b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default ({ getService }: FtrProviderContext) => {

async function getCategoryExamples(
jobId: string,
categoryId: string[],
categoryIds: string[],
maxExamples: number,
user: USER,
expectedStatusCode: number,
Expand All @@ -71,7 +71,7 @@ export default ({ getService }: FtrProviderContext) => {
.post(`${space ? `/s/${space}` : ''}/api/ml/results/category_examples`)
.auth(user, ml.securityCommon.getPasswordForUser(user))
.set(COMMON_REQUEST_HEADERS)
.send({ jobId, categoryId, maxExamples })
.send({ jobId, categoryIds, maxExamples })
.expect(expectedStatusCode);

return body;
Expand Down

0 comments on commit 0ab865b

Please sign in to comment.