This commit is contained in:
elweyn 2023-03-24 13:36:25 +01:00
parent 5a960a6e27
commit 06a5cd678b

View File

@ -60,9 +60,6 @@ describe('UserCard_Newsletter', () => {
it('calls the unsubscribe mutation', () => { it('calls the unsubscribe mutation', () => {
expect(mockAPIcall).toBeCalledWith({ expect(mockAPIcall).toBeCalledWith({
mutation: unsubscribeNewsletter, mutation: unsubscribeNewsletter,
variables: {
language: undefined,
},
}) })
}) })
@ -89,9 +86,6 @@ describe('UserCard_Newsletter', () => {
it('calls the subscribe mutation', () => { it('calls the subscribe mutation', () => {
expect(mockAPIcall).toBeCalledWith({ expect(mockAPIcall).toBeCalledWith({
mutation: subscribeNewsletter, mutation: subscribeNewsletter,
variables: {
language: 'de',
},
}) })
}) })