summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/base/js/identity_unittest.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/base/js/identity_unittest.js')
-rw-r--r--remoting/webapp/base/js/identity_unittest.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/remoting/webapp/base/js/identity_unittest.js b/remoting/webapp/base/js/identity_unittest.js
index a187129..55ce092 100644
--- a/remoting/webapp/base/js/identity_unittest.js
+++ b/remoting/webapp/base/js/identity_unittest.js
@@ -45,14 +45,12 @@ MockConsent.prototype.show = function() {
QUnit.module('Identity', {
beforeEach: function(/** QUnit.Assert*/ assert) {
chromeMocks.identity.mock$clearToken();
- chromeMocks.activate(['identity', 'runtime']);
consentDialog = new MockConsent(assert);
promptForConsent = sinon.spy(consentDialog, 'show');
identity = new remoting.Identity(consentDialog);
getAuthToken = sinon.spy(chromeMocks.identity, 'getAuthToken');
},
afterEach: function() {
- chromeMocks.restore();
getAuthToken.restore();
}
});