1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Fix permissions tests.

This commit is contained in:
Sam Rose 2024-03-01 17:40:10 +00:00
parent 90f981724d
commit 594cd5ee56
No known key found for this signature in database

View file

@ -26,9 +26,14 @@ export class ViewV2API extends TestAPI {
...viewData,
}
const exp: Expectations = {
status: 201,
...expectations,
}
const resp = await this._post<{ data: ViewV2 }>("/api/v2/views", {
body: view,
expectations,
expectations: exp,
})
return resp.data
}