From 3f7a0a455d1f72c022aa9da0b3d2e3b2e321d082 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Tue, 11 Jun 2024 12:55:07 -0400 Subject: [PATCH] update test --- src/layouts/payment-method/payment-method.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;