mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
fix tests
This commit is contained in:
parent
d0335b6b16
commit
7b3c0915d8
@ -56,12 +56,6 @@ public class TestAppResource extends BaseJerseyTest {
|
|||||||
.post(Entity.form(new Form()));
|
.post(Entity.form(new Form()));
|
||||||
Assert.assertEquals(Status.OK, Status.fromStatusCode(response.getStatus()));
|
Assert.assertEquals(Status.OK, Status.fromStatusCode(response.getStatus()));
|
||||||
|
|
||||||
// Recompute quota
|
|
||||||
response = target().path("/app/batch/recompute_quota").request()
|
|
||||||
.cookie(TokenBasedSecurityFilter.COOKIE_NAME, adminToken)
|
|
||||||
.post(Entity.form(new Form()));
|
|
||||||
Assert.assertEquals(Status.OK, Status.fromStatusCode(response.getStatus()));
|
|
||||||
|
|
||||||
// Change the default language
|
// Change the default language
|
||||||
response = target().path("/app/config").request()
|
response = target().path("/app/config").request()
|
||||||
.cookie(TokenBasedSecurityFilter.COOKIE_NAME, adminToken)
|
.cookie(TokenBasedSecurityFilter.COOKIE_NAME, adminToken)
|
||||||
|
Loading…
Reference in New Issue
Block a user