Skip to content

Commit c0a673f

Browse files
committed
Fix test failures
1 parent 301dfd2 commit c0a673f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_routes/test_status.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ async def test_post_status_sends_looming(
378378
mock_get_settings.return_value.website_hostname = (
379379
"https://rctab-t1-teststack.azurewebsites.net/"
380380
)
381+
mock_get_settings.return_value.expiry_email_freq = [1, 7, 30]
381382

382383
mock_send_email = mocker.patch(
383384
"rctab.routers.accounting.send_emails.send_with_sendgrid"
@@ -487,7 +488,6 @@ async def test_post_status_sends_looming(
487488
)
488489

489490
assert mock_send_email.call_count == 3
490-
# mock_send_email.assert_has_calls([welcome_call, new_approval_call, expiry_call])
491491
mock_send_email.assert_has_calls([welcome_call, new_approval_call, expiry_call])
492492

493493

0 commit comments

Comments
 (0)