Skip to content

Commit 956451d

Browse files
More test fixing
1 parent 3eecedf commit 956451d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/backend/src/tests/test_account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ def test_full_delete_account_with_recovery(db, email_collector: EmailCollector,
764764
email = email_collector.pop_for_recipient(user.email, last=True)
765765
assert email.recipient == user.email
766766
assert "account has been recovered" in email.subject.lower()
767-
unique_string = "Your account on Couchers.org has been successfully recovered!"
767+
unique_string = "Your Couchers.org account has been successfully recovered."
768768
assert unique_string in email.plain
769769
assert unique_string in email.html
770770
assert "support@couchers.org" in email.plain

app/backend/src/tests/test_email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def test_send_donation_email(db, monkeypatch):
422422
"""
423423
)
424424

425-
assert "Thank you so much for your donation of $20 to Couchers.org." in email.html
425+
assert "Thank you so much for your donation of <b>$20</b> to Couchers.org." in email.html
426426
assert email.sender_name == "Couchers.org"
427427
assert email.sender_email == "notify@couchers.org.invalid"
428428
assert email.recipient == "testing@couchers.org.invalid"

0 commit comments

Comments
 (0)