public void create_user() throws Exception {
userSessionRule.login("admin").setGlobalPermissions(GlobalPermissions.SYSTEM_ADMIN);
tester.newPostRequest("api/users", "create")
.setParam("login", "john")
.setParam("name", "John")
<BUG>.setParam("email", "john@email.com")
.setParam("scm_accounts", "jn")
.setParam("password", "1234")
.setParam("password_confirmation", "1234").execute()
.assertJson(getClass(), "create_user.json");</BUG>
UserDoc user = index.getByLogin("john");

public void create_user() throws Exception {
userSessionRule.login("admin").setGlobalPermissions(GlobalPermissions.SYSTEM_ADMIN);
tester.newPostRequest("api/users", "create")
.setParam("login", "john")
.setParam("name", "John")
.setParam("email", "john@email.com")
.setParam("scmAccounts", "jn")
.setParam("password", "1234").execute()
.assertJson(getClass(), "create_user.json");
UserDoc user = index.getByLogin("john");
