Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
whabanks committed Feb 16, 2024
1 parent bf8d12b commit db033fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/app/dao/test_services_dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,15 +1434,15 @@ def test_dao_fetch_todays_total_message_count_returns_0_with_yesterday_messages(
notification = save_notification(
create_notification(
created_at=yesterday,
template=create_template(service=create_service(), template_type="email"),
template=create_template(service=create_service(service_name="tester123"), template_type="email"),
)
)
assert fetch_todays_total_message_count(notification.service.id) == 0

def test_dao_fetch_todays_total_message_count_counts_notifications_in_jobs_scheduled_for_today(
self, notify_db, notify_db_session
):
service = create_service()
service = create_service(service_name="tester12")
template = create_template(service=service, template_type="email")
today = datetime.utcnow().date()

Expand Down

0 comments on commit db033fe

Please sign in to comment.