diff options
Diffstat (limited to 'api/user_test.go')
-rw-r--r-- | api/user_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user_test.go b/api/user_test.go index 05b6a844f..27408f292 100644 --- a/api/user_test.go +++ b/api/user_test.go @@ -483,7 +483,7 @@ func TestGetUser(t *testing.T) { t.Fatal("shouldn't have accss") } - th.App.UpdateUserRoles(ruser.Data.(*model.User).Id, model.ROLE_SYSTEM_ADMIN.Id) + th.App.UpdateUserRoles(ruser.Data.(*model.User).Id, model.ROLE_SYSTEM_ADMIN.Id, false) Client.Login(user.Email, "passwd1") |