From efdb0dfa0b422b24a6fbed2c4752484494a78857 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 22 Sep 2016 08:31:38 -0400
Subject: Fixing update roles API (#4060)

---
 webapp/tests/client_team.test.jsx | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'webapp/tests/client_team.test.jsx')

diff --git a/webapp/tests/client_team.test.jsx b/webapp/tests/client_team.test.jsx
index 389a6ef50..157a2f4a5 100644
--- a/webapp/tests/client_team.test.jsx
+++ b/webapp/tests/client_team.test.jsx
@@ -240,5 +240,24 @@ describe('Client.Team', function() {
             );
         });
     });
+
+    it('updateTeamMemberRoles', function(done) {
+        TestHelper.initBasic(() => {
+            var user = TestHelper.basicUser();
+            var team = TestHelper.basicTeam();
+
+            TestHelper.basicClient().updateTeamMemberRoles(
+                team.id,
+                user.id,
+                '',
+                function() {
+                    done();
+                },
+                function(err) {
+                    done(new Error(err.message));
+                }
+            );
+        });
+    });
 });
 
-- 
cgit v1.2.3-1-g7c22

