mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Correct tests.
This commit is contained in:
parent
bfe2aa9246
commit
62c85476d4
@ -93,7 +93,7 @@ describe('CreationConfirm', () => {
|
||||
|
||||
mockClient.setRequestHandler(
|
||||
denyContribution,
|
||||
adminRejectContributionMock.mockResolvedValue({ data: { rejectContribution: true } }),
|
||||
adminRejectContributionMock.mockResolvedValue({ data: { denyContribution: true } }),
|
||||
)
|
||||
|
||||
mockClient.setRequestHandler(
|
||||
@ -274,7 +274,7 @@ describe('CreationConfirm', () => {
|
||||
})
|
||||
|
||||
it('toasts a success message', () => {
|
||||
expect(toastSuccessSpy).toBeCalledWith('creation_form.toasted_rejected')
|
||||
expect(toastSuccessSpy).toBeCalledWith('creation_form.toasted_denied')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user