diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-11-03 10:41:11 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-11-03 10:41:11 -0400 |
commit | 0234f793f29a90572d2288b7b22b75cd5ab83648 (patch) | |
tree | 76f67d1be0756c9186973f4db27a77643efcdfeb /webapp/tests/client_user.test.jsx | |
parent | 5b34ac6e1e4d24f51c754926305149b7986f38c4 (diff) | |
download | chat-0234f793f29a90572d2288b7b22b75cd5ab83648.tar.gz chat-0234f793f29a90572d2288b7b22b75cd5ab83648.tar.bz2 chat-0234f793f29a90572d2288b7b22b75cd5ab83648.zip |
EE: PLT-4512 Show secret in addition to QR code when activating MFA (#4427)
* EE: Update MFA to display secret for manual entry
* Width adjustments for secret (#4423)
* Add unit test
Diffstat (limited to 'webapp/tests/client_user.test.jsx')
-rw-r--r-- | webapp/tests/client_user.test.jsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webapp/tests/client_user.test.jsx b/webapp/tests/client_user.test.jsx index 8c6f0f970..5e70c5c3e 100644 --- a/webapp/tests/client_user.test.jsx +++ b/webapp/tests/client_user.test.jsx @@ -391,6 +391,19 @@ describe('Client.User', function() { }); }); + it('generateMfaSecret', function(done) { + TestHelper.initBasic(() => { + TestHelper.basicClient().generateMfaSecret( + function() { + done(new Error('not enabled')); + }, + function() { + done(); + } + ); + }); + }); + it('getSessions', function(done) { TestHelper.initBasic(() => { TestHelper.basicClient().getSessions( |