diff options
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r-- | server/tests/api/users/users.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index 6ae5410b3..be80c2616 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { HttpStatusCode } from '@shared/core-utils' | 5 | import { HttpStatusCode } from '@shared/models' |
6 | import { | 6 | import { |
7 | cleanupTests, | 7 | cleanupTests, |
8 | createSingleServer, | 8 | createSingleServer, |
@@ -215,7 +215,7 @@ describe('Test users', function () { | |||
215 | path: path + videoId, | 215 | path: path + videoId, |
216 | token: 'wrong token', | 216 | token: 'wrong token', |
217 | fields: data, | 217 | fields: data, |
218 | statusCodeExpected: HttpStatusCode.UNAUTHORIZED_401 | 218 | expectedStatus: HttpStatusCode.UNAUTHORIZED_401 |
219 | } | 219 | } |
220 | await makePutBodyRequest(options) | 220 | await makePutBodyRequest(options) |
221 | }) | 221 | }) |