diff --git a/admin/src/components/ContributionLinkForm.spec.js b/admin/src/components/ContributionLinkForm.spec.js index 2bed4febf..f92831e84 100644 --- a/admin/src/components/ContributionLinkForm.spec.js +++ b/admin/src/components/ContributionLinkForm.spec.js @@ -38,8 +38,8 @@ describe('ContributionLinkForm', () => { amount: 100, validFrom: 'validFrom', validTo: 'validTo', - cycle: 'once', - maxPerCycle: '1', + cycle: 'ONCE', + maxPerCycle: 1, maxAmountPerMonth: 100, }, }) @@ -47,12 +47,12 @@ describe('ContributionLinkForm', () => { }) expect(wrapper.vm.form).toEqual({ amount: null, - cycle: 'once', + cycle: 'ONCE', validTo: null, - maxAmountPerMonth: null, + maxAmountPerMonth: '0', memo: null, name: null, - maxPerCycle: null, + maxPerCycle: 1, validFrom: null, }) })