PLT-7978 Add websocket event for user role update (#7745)

* Add websocket event for user role update

* Fix tests

* More test fixes
Этот коммит содержится в:
Joram Wilander
2017-10-31 12:00:21 -04:00
коммит произвёл George Goldberg
родитель 6886de04d4
Коммит 06ec648cf3
15 изменённых файлов: 37 добавлений и 29 удалений

Просмотреть файл

@@ -395,7 +395,7 @@ func TestGetAllTeamListings(t *testing.T) {
}
}
th.App.UpdateUserRoles(user.Id, model.ROLE_SYSTEM_ADMIN.Id)
th.App.UpdateUserRoles(user.Id, model.ROLE_SYSTEM_ADMIN.Id, false)
Client.Login(user.Email, "passwd1")
Client.SetTeamId(team.Id)