update test

This commit is contained in:
Bill Richardson 2024-06-11 12:55:07 -04:00
parent ee66831ab9
commit 3f7a0a455d

View file

@ -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;