Skip to content

Commit

Permalink
63: fix the test broken by the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaloyan Marinov committed Mar 13, 2024
1 parent 912aae7 commit 5ce8eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@ test(

test(
"if a logged-in user manually changes" +
" the URL in her browser's address bar to /request_password_reset ," +
" the URL in her browser's address bar to /request-password-reset ," +
" the frontend application should redirect the user to /home",
async () => {
/* Arrange. */
Expand All @@ -1569,7 +1569,7 @@ test(

/* Act. */
/* Simulate the user's manually changing the URL in her browser's address bar. */
history.push("/request_password_reset");
history.push("/request-password-reset");

/* Assert. */
expect(history.location.pathname).toEqual("/home");
Expand Down

2 comments on commit 5ce8eb3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

badge-test-coverage

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

badge-test-coverage

Please sign in to comment.