Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/pre-commit-3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo authored Oct 2, 2024
2 parents d2d589b + 2a95889 commit 322b78d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cl/favorites/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from asgiref.sync import sync_to_async
from django.contrib.auth.hashers import make_password
from django.core import mail
from django.template.defaultfilters import date as template_date
from django.test import AsyncClient, override_settings
from django.urls import reverse
from django.utils.timezone import now
Expand Down Expand Up @@ -924,7 +925,7 @@ async def test_prayers_integration(self) -> None:
email_text_content,
)
self.assertIn(
f"You requested it on {prayer_1.date_created.strftime("%b %d, %Y")}",
f"You requested it on {template_date(prayer_1.date_created, 'M j, Y')}",
email_text_content,
)
self.assertIn(
Expand All @@ -945,7 +946,7 @@ async def test_prayers_integration(self) -> None:
html_content,
)
self.assertIn(
f"You requested it on {prayer_1.date_created.strftime("%b %d, %Y")}",
f"You requested it on {template_date(prayer_1.date_created, 'M j, Y')}",
html_content,
)
self.assertIn(
Expand Down

0 comments on commit 322b78d

Please sign in to comment.