From 6c75662b824491a20a757a5eec59556a866374b5 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Fri, 6 May 2016 11:28:22 -0700 Subject: PLT-2697 Fixing team admins (#2900) * PLT-2697 Fixing team admins * Fixing eslint error * Fixing loc issues * Fixing func * Fixing func --- webapp/tests/client_user.test.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webapp/tests') 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) { -- cgit v1.2.3-1-g7c22