diff --git a/src/layouts/payment-method/payment-method.spec.js b/src/layouts/payment-method/payment-method.spec.js index fce089bf..acfaeafe 100644 --- a/src/layouts/payment-method/payment-method.spec.js +++ b/src/layouts/payment-method/payment-method.spec.js @@ -187,8 +187,8 @@ describe('payment-method.vue', () => { test('returns false when coverageStatus is verified and deductibleTotal > 0', () => { // Arrange store.order.insuranceCoverage.coverageStatus = coverageStatuses.VERIFIED; + store.order.currentDeductible = 34.99; const wrapper = setupMocks({}, store, mixin); - wrapper.vm.deductibleTotal = 34.99; // Act const result = wrapper.vm.isPayInAdvanceDisabled; @@ -199,8 +199,8 @@ describe('payment-method.vue', () => { test('returns true when coverageStatus is verified and deductibleTotal = 0', () => { // Arrange store.order.insuranceCoverage.coverageStatus = coverageStatuses.VERIFIED; + store.order.currentDeductible = 0; const wrapper = setupMocks({}, store, mixin); - wrapper.vm.deductibleTotal = 0; // Act const result = wrapper.vm.isPayInAdvanceDisabled;