diff --git a/app/src/renderer/components/common/NiSessionSignIn.vue b/app/src/renderer/components/common/NiSessionSignIn.vue index a56bb7b664..e9e3d5782e 100644 --- a/app/src/renderer/components/common/NiSessionSignIn.vue +++ b/app/src/renderer/components/common/NiSessionSignIn.vue @@ -58,7 +58,6 @@ export default { await this.$store.dispatch('testLogin', { password: this.fields.signInPassword, account: this.fields.signInName }) this.$store.dispatch('signIn', { password: this.fields.signInPassword, account: this.fields.signInName }) this.$store.commit('setModalSession', false) - this.$store.commit('notify', { title: 'Signed In', body: `You are now signed in to your Cosmos account.` }) } catch (err) { this.$store.commit('notifyError', { title: 'Signing In Failed', body: err.message }) } diff --git a/test/unit/specs/NISessionSignIn.spec.js b/test/unit/specs/NISessionSignIn.spec.js index b6f4da4097..a548f120e3 100644 --- a/test/unit/specs/NISessionSignIn.spec.js +++ b/test/unit/specs/NISessionSignIn.spec.js @@ -55,8 +55,6 @@ describe('NiSessionSignIn', () => { signInName: 'name' }}) await wrapper.vm.onSubmit() - let commitCalls = store.commit.mock.calls.map(args => args[0]) - expect(commitCalls).toContain('notify') expect(store.dispatch).toHaveBeenCalledWith('signIn', { password: '1234567890', account: 'name'