mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change test not called commit and error toast to not call apollo query.
This commit is contained in:
parent
f53ec66360
commit
fb3daf6e4c
@ -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()
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@ -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()
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user