Commit 5530cbd7 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test fixed

parent f64fb5a3
...@@ -47,7 +47,7 @@ public class UserControllerAnonymousIntegrationTest extends ControllerIntegratio ...@@ -47,7 +47,7 @@ public class UserControllerAnonymousIntegrationTest extends ControllerIntegratio
String body = "{\"privileges\":{\"IS_ADMIN\":true}}"; String body = "{\"privileges\":{\"IS_ADMIN\":true}}";
RequestBuilder request = patch("/api/users/" + Configuration.ANONYMOUS_LOGIN + ":updatePrivileges") RequestBuilder request = patch("/api/users/" + Configuration.ANONYMOUS_LOGIN + ":updatePrivileges")
.contentType(MediaType.APPLICATION_FORM_URLENCODED) .contentType(MediaType.APPLICATION_JSON)
.content(body) .content(body)
.session(session); .session(session);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment