fixed test

This commit is contained in:
ogerly 2022-06-13 23:04:53 +02:00
parent 955a16d24e
commit 022d03bee4

View File

@ -38,8 +38,8 @@ describe('ContributionLinkForm', () => {
amount: 100, amount: 100,
startDate: 'startDate', startDate: 'startDate',
endDate: 'endDate', endDate: 'endDate',
cycle: 'cycle', cycle: 'once',
repetition: 'repetition', repetition: '1',
maxAmount: 100, maxAmount: 100,
}, },
}) })
@ -47,7 +47,7 @@ describe('ContributionLinkForm', () => {
}) })
expect(wrapper.vm.form).toEqual({ expect(wrapper.vm.form).toEqual({
amount: null, amount: null,
cycle: null, cycle: 'once',
endDate: null, endDate: null,
maxAmount: null, maxAmount: null,
memo: null, memo: null,