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.jsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/webapp/tests/client_user.test.jsx b/webapp/tests/client_user.test.jsx
index 2e5b80dd7..5e5eb6821 100644
--- a/webapp/tests/client_user.test.jsx
+++ b/webapp/tests/client_user.test.jsx
@@ -602,6 +602,21 @@ describe('Client.User', function() {
});
});
+ it('autocompleteUsers', function(done) {
+ TestHelper.initBasic(() => {
+ TestHelper.basicClient().autocompleteUsers(
+ 'uid',
+ function(data) {
+ assert.equal(data != null, true);
+ done();
+ },
+ function(err) {
+ done(new Error(err.message));
+ }
+ );
+ });
+ });
+
it('getStatusesByIds', function(done) {
TestHelper.initBasic(() => {
var ids = [];