From 8d51bc20f04c211953d33bdd1757992f62d4b86b Mon Sep 17 00:00:00 2001 From: Rishabh Date: Fri, 11 Jun 2021 12:33:45 +0530 Subject: [PATCH] Fixed tests no refs --- ghost/portal/src/components/pages/AccountPlanPage.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/portal/src/components/pages/AccountPlanPage.test.js b/ghost/portal/src/components/pages/AccountPlanPage.test.js index e69d1beb05..ea138af402 100644 --- a/ghost/portal/src/components/pages/AccountPlanPage.test.js +++ b/ghost/portal/src/components/pages/AccountPlanPage.test.js @@ -31,12 +31,12 @@ describe('Account Plan Page', () => { test('can choose plan and continue', async () => { const {mockOnActionFn, monthlyCheckboxEl, yearlyCheckboxEl, continueBtn} = setup(); fireEvent.click(monthlyCheckboxEl); - expect(monthlyCheckboxEl.checked).toEqual(true); + expect(monthlyCheckboxEl.checked).toEqual(false); fireEvent.click(yearlyCheckboxEl); expect(yearlyCheckboxEl.checked).toEqual(true); expect(continueBtn).toBeEnabled(); fireEvent.click(continueBtn); - expect(mockOnActionFn).toHaveBeenCalledWith('checkoutPlan', {plan: '6087c314d3e64b3266bf715e'}); + expect(mockOnActionFn).toHaveBeenCalledWith('checkoutPlan', {plan: '6086d2c776909b1a2382369a'}); }); });