diff --git a/src/features/Instructors/AddInstructors/__test__/index.test.jsx b/src/features/Instructors/AddInstructors/__test__/index.test.jsx index 29a9524..0b0bee2 100644 --- a/src/features/Instructors/AddInstructors/__test__/index.test.jsx +++ b/src/features/Instructors/AddInstructors/__test__/index.test.jsx @@ -102,7 +102,7 @@ describe('Add instructor modal', () => { { preloadedState: mockStore }, ); - const sendButton = getByText('Send invite'); + const sendButton = getByText('Add instructor'); const emailInput = getByPlaceholderText('Enter Email of the instructor'); expect(sendButton).toBeInTheDocument();