mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Fix test
This commit is contained in:
parent
5a960a6e27
commit
06a5cd678b
@ -60,9 +60,6 @@ describe('UserCard_Newsletter', () => {
|
||||
it('calls the unsubscribe mutation', () => {
|
||||
expect(mockAPIcall).toBeCalledWith({
|
||||
mutation: unsubscribeNewsletter,
|
||||
variables: {
|
||||
language: undefined,
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
@ -89,9 +86,6 @@ describe('UserCard_Newsletter', () => {
|
||||
it('calls the subscribe mutation', () => {
|
||||
expect(mockAPIcall).toBeCalledWith({
|
||||
mutation: subscribeNewsletter,
|
||||
variables: {
|
||||
language: 'de',
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user