diff --git a/tests/actions/ReimbursementAccountTest.js b/tests/actions/ReimbursementAccountTest.js index 6eb34c80db4..cd0ae97aeda 100644 --- a/tests/actions/ReimbursementAccountTest.js +++ b/tests/actions/ReimbursementAccountTest.js @@ -260,8 +260,8 @@ describe('actions/BankAccounts', () => { expect(reimbursementAccount.achData.currentStep).toBe(CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT); HttpUtils.xhr.mockImplementation((command) => { + // WHEN we mock a sucessful call to SetupWithdrawalAccount while on the ACHContractStep switch (command) { - // WHEN we mock a sucessful call to SetupWithdrawalAccount while on the ACHContractStep case 'BankAccount_SetupWithdrawal': return Promise.resolve({ jsonCode: 200, @@ -269,6 +269,7 @@ describe('actions/BankAccounts', () => { bankAccountID: TEST_BANK_ACCOUNT_ID, }, }); + // And mock the response of Get&returnValueList=bankAccountList case 'Get': return Promise.resolve({