From a6d7db55ce19a0442edb5a70e7e8a310c82c4f0e Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 14 Jun 2022 15:30:21 +0200 Subject: [PATCH] fix test admin --- admin/src/components/ContributionLinkForm.spec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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, }) })