mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix admin create contribution
This commit is contained in:
parent
f5f50e9353
commit
a81b364fef
@ -145,6 +145,7 @@ describe('CreationFormular', () => {
|
||||
|
||||
it('sends ... to apollo', () => {
|
||||
expect(adminCreateContributionMock).toBeCalledWith({
|
||||
email: 'benjamin@bluemchen.de',
|
||||
creationDate: getCreationDate(2),
|
||||
amount: 90,
|
||||
memo: 'Test create coins',
|
||||
|
||||
@ -140,6 +140,7 @@ export default {
|
||||
.mutate({
|
||||
mutation: adminCreateContribution,
|
||||
variables: {
|
||||
email: this.item.email,
|
||||
creationDate: this.selected.date,
|
||||
amount: Number(this.value),
|
||||
memo: this.text,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user