diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-10-31 12:00:21 -0400 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-10-31 16:00:21 +0000 |
commit | 06ec648cf30e3968c0fdb2514c8d59dff97c757c (patch) | |
tree | c801a9bbbdeca6704b91d5d093cb937db5cd9d00 /api/user_test.go | |
parent | 6886de04d4215ea45ae535b64a604a79292bff77 (diff) | |
download | chat-06ec648cf30e3968c0fdb2514c8d59dff97c757c.tar.gz chat-06ec648cf30e3968c0fdb2514c8d59dff97c757c.tar.bz2 chat-06ec648cf30e3968c0fdb2514c8d59dff97c757c.zip |
PLT-7978 Add websocket event for user role update (#7745)
* Add websocket event for user role update
* Fix tests
* More test fixes
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") |