mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57:57 +01:00
fix unit test (#736)
Co-authored-by: Enrice <erich.mauerboeck@ergo-versicherung.at>
This commit is contained in:
parent
428e898a7a
commit
80454afc0d
@ -75,7 +75,7 @@ public class TestUserResource extends BaseJerseyTest {
|
|||||||
response = target().path("/user").request()
|
response = target().path("/user").request()
|
||||||
.cookie(TokenBasedSecurityFilter.COOKIE_NAME, adminToken)
|
.cookie(TokenBasedSecurityFilter.COOKIE_NAME, adminToken)
|
||||||
.put(Entity.form(new Form()
|
.put(Entity.form(new Form()
|
||||||
.param("username", "bob-")
|
.param("username", "bob/")
|
||||||
.param("email", "bob@docs.com")
|
.param("email", "bob@docs.com")
|
||||||
.param("password", "12345678")
|
.param("password", "12345678")
|
||||||
.param("storage_quota", "10")));
|
.param("storage_quota", "10")));
|
||||||
|
Loading…
Reference in New Issue
Block a user