diff --git a/src/components/Tool/FixPhoneNumbers/Contact.test.tsx b/src/components/Tool/FixPhoneNumbers/Contact.test.tsx index b38af145b..a5e1c2896 100644 --- a/src/components/Tool/FixPhoneNumbers/Contact.test.tsx +++ b/src/components/Tool/FixPhoneNumbers/Contact.test.tsx @@ -137,5 +137,7 @@ describe('FixPhoneNumbers-Contact', () => { expect(handleChangePrimaryMock).toHaveBeenCalled(); userEvent.click(getByTestId('delete-testid-1')); expect(handleDeleteModalOpenMock).toHaveBeenCalled(); + userEvent.click(getByTestId(`confirmButton-${testData.id}`)); + expect(updatePhoneNumber).toHaveBeenCalled(); }); });