diff options
Diffstat (limited to 'webapp/tests/client_user.test.jsx')
-rw-r--r-- | webapp/tests/client_user.test.jsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webapp/tests/client_user.test.jsx b/webapp/tests/client_user.test.jsx index 5e70c5c3e..2e5b80dd7 100644 --- a/webapp/tests/client_user.test.jsx +++ b/webapp/tests/client_user.test.jsx @@ -36,6 +36,21 @@ describe('Client.User', function() { }); }); + it('getByUsername', function(done) { + TestHelper.initBasic(() => { + TestHelper.basicClient().getByUsername( + TestHelper.basicUser().username, + function(data) { + assert.equal(data.username, TestHelper.basicUser().username); + done(); + }, + function(err) { + done(new Error(err.message)); + } + ); + }); + }); + it('getInitialLoad', function(done) { TestHelper.initBasic(() => { TestHelper.basicClient().getInitialLoad( |