Skip to content

Commit 652de35

Browse files
committed
One more fix for testing email during deploy
1 parent 2302860 commit 652de35

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/tests/api/routes/test_login.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def test_recovery_password(
5151
with (
5252
patch("app.core.config.settings.SMTP_HOST", "smtp.example.com"),
5353
patch("app.core.config.settings.SMTP_USER", "admin@example.com"),
54+
patch("app.core.config.settings.EMAILS_FROM_EMAIL", "noreply@example.com"),
5455
):
5556
email = "test@example.com"
5657
r = client.post(

0 commit comments

Comments
 (0)