diff options
Diffstat (limited to 'server/tests/api/check-params/users.ts')
-rw-r--r-- | server/tests/api/check-params/users.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts index 3e53c445d..2a220be83 100644 --- a/server/tests/api/check-params/users.ts +++ b/server/tests/api/check-params/users.ts | |||
@@ -154,18 +154,6 @@ describe('Test users API validators', function () { | |||
154 | await checkBadSortPagination(server.url, path, server.accessToken) | 154 | await checkBadSortPagination(server.url, path, server.accessToken) |
155 | }) | 155 | }) |
156 | 156 | ||
157 | it('Should fail with a bad blocked/banned user filter', async function () { | ||
158 | await makeGetRequest({ | ||
159 | url: server.url, | ||
160 | path, | ||
161 | query: { | ||
162 | blocked: 42 | ||
163 | }, | ||
164 | token: server.accessToken, | ||
165 | statusCodeExpected: 400 | ||
166 | }) | ||
167 | }) | ||
168 | |||
169 | it('Should fail with a non authenticated user', async function () { | 157 | it('Should fail with a non authenticated user', async function () { |
170 | await makeGetRequest({ | 158 | await makeGetRequest({ |
171 | url: server.url, | 159 | url: server.url, |