Skip to content

Commit

Permalink
Add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Jan 28, 2025
1 parent 8b66f33 commit 5b6757a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/views/user_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def test_send_verify_email_reminder(
with patch(
# pylint: disable-next=line-too-long
"src.api.views.user.email_verification_token_generator.make_token",
side_effect=lambda user_id: user_id,
side_effect=lambda user_id, email: user_id,
) as make_token:
with patch("src.api.views.user.send_mail") as send_mail_mock:
self.client.cron_job(action)
Expand Down

0 comments on commit 5b6757a

Please sign in to comment.