update test
This commit is contained in:
parent
ee66831ab9
commit
3f7a0a455d
1 changed files with 2 additions and 2 deletions
|
|
@ -187,8 +187,8 @@ describe('payment-method.vue', () => {
|
||||||
test('returns false when coverageStatus is verified and deductibleTotal > 0', () => {
|
test('returns false when coverageStatus is verified and deductibleTotal > 0', () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
store.order.insuranceCoverage.coverageStatus = coverageStatuses.VERIFIED;
|
store.order.insuranceCoverage.coverageStatus = coverageStatuses.VERIFIED;
|
||||||
|
store.order.currentDeductible = 34.99;
|
||||||
const wrapper = setupMocks({}, store, mixin);
|
const wrapper = setupMocks({}, store, mixin);
|
||||||
wrapper.vm.deductibleTotal = 34.99;
|
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const result = wrapper.vm.isPayInAdvanceDisabled;
|
const result = wrapper.vm.isPayInAdvanceDisabled;
|
||||||
|
|
@ -199,8 +199,8 @@ describe('payment-method.vue', () => {
|
||||||
test('returns true when coverageStatus is verified and deductibleTotal = 0', () => {
|
test('returns true when coverageStatus is verified and deductibleTotal = 0', () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
store.order.insuranceCoverage.coverageStatus = coverageStatuses.VERIFIED;
|
store.order.insuranceCoverage.coverageStatus = coverageStatuses.VERIFIED;
|
||||||
|
store.order.currentDeductible = 0;
|
||||||
const wrapper = setupMocks({}, store, mixin);
|
const wrapper = setupMocks({}, store, mixin);
|
||||||
wrapper.vm.deductibleTotal = 0;
|
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const result = wrapper.vm.isPayInAdvanceDisabled;
|
const result = wrapper.vm.isPayInAdvanceDisabled;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue