From 64d2a9d70a951c1f18701e63b042248e6b985aab Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 8 Jul 2016 03:56:52 -0300 Subject: [PATCH] Ivan - OS-48 - Add UnitTest and necessary mocks for login/logout logic [skip ci] --- client/src/app/__tests__/App-test.js | 1 - client/src/lib-app/api-call.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/client/src/app/__tests__/App-test.js b/client/src/app/__tests__/App-test.js index 4bb2680c..6bc02936 100644 --- a/client/src/app/__tests__/App-test.js +++ b/client/src/app/__tests__/App-test.js @@ -9,7 +9,6 @@ describe('App component', function () { let app; beforeEach(function () { - console.log(App); app = TestUtils.renderIntoDocument( MOCK_CHILD ); diff --git a/client/src/lib-app/api-call.js b/client/src/lib-app/api-call.js index 06abd137..90c308ce 100644 --- a/client/src/lib-app/api-call.js +++ b/client/src/lib-app/api-call.js @@ -20,9 +20,5 @@ module.exports = { onFail && onFail(result); } }); - }, - setConfig: function (userId, token) { - SessionStorage.setItem('userId', userId); - SessionStorage.setItem('token', token); } }; \ No newline at end of file