summaryrefslogtreecommitdiffstats
path: root/webapp/tests/client_user.test.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/tests/client_user.test.jsx')
-rw-r--r--webapp/tests/client_user.test.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/tests/client_user.test.jsx b/webapp/tests/client_user.test.jsx
index 610308fa3..2b3b1b89a 100644
--- a/webapp/tests/client_user.test.jsx
+++ b/webapp/tests/client_user.test.jsx
@@ -206,12 +206,14 @@ describe('Client.User', function() {
it('updateRoles', function(done) {
TestHelper.initBasic(() => {
var user = TestHelper.basicUser();
+ var team = TestHelper.basicTeam();
TestHelper.basicClient().updateRoles(
+ team.id,
user.id,
'',
function(data) {
- assert.equal(data.roles, '');
+ assert.equal(data.user_id, user.id);
done();
},
function(err) {