Change test not called commit and error toast to not call apollo query.

This commit is contained in:
elweyn 2021-10-29 14:04:45 +02:00
parent f53ec66360
commit fb3daf6e4c
2 changed files with 4 additions and 8 deletions

View File

@ -126,8 +126,8 @@ describe('Login', () => {
)
})
it('does not update community data', () => {
expect(mockStoreCommit).not.toBeCalled()
it('does not call community data update', () => {
expect(apolloQueryMock).not.toBeCalled()
})
})

View File

@ -120,12 +120,8 @@ describe('Register', () => {
)
})
it('does not update community data', () => {
expect(mockStoreCommit).not.toBeCalled()
})
it('does not update community data', () => {
expect(mockStoreCommit).not.toBeCalled()
it('does not call community data update', () => {
expect(apolloQueryMock).not.toBeCalled()
})
})