diff --git a/src/layouts/confirmation/confirmation.spec.js b/src/layouts/confirmation/confirmation.spec.js index d29bb552a..166973ce6 100644 --- a/src/layouts/confirmation/confirmation.spec.js +++ b/src/layouts/confirmation/confirmation.spec.js @@ -565,6 +565,7 @@ function setupMocks({ customMountOptions }) { getCmsContent: jest.fn().mockImplementation(() => { return wordingText; }), + getSettingValue: jest.fn(), }, }, ]; diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index b68e0bd27..ccf4e1524 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -33,7 +33,8 @@ :isInsurance="isInsurance" :insuranceDeductible="currentDeductible" :insuranceCompanyName="insuranceCompanyName" - :showInsuranceCoverageAs="showInsuranceCoverageAs" /> + :showInsuranceCoverageAs="showInsuranceCoverageAs" + :shouldHideRecalibration="shouldHideRecalibration" />
@@ -591,10 +592,9 @@ export default { ); }, shouldHideRecalibration() { - const recalSettingValue = experimentMixin.methods.getSettingValue( + return this.getSettingValue( experimentSettings.RECAL_PRICE_REMOVE ); - return recalSettingValue; }, showApplePay() { return baseMixin.methods.showApplePay();