Changing U.S. Notify to Notify.gov (#656)

This commit is contained in:
Jonathan Bobel
2023-07-28 11:12:46 -04:00
committed by GitHub
parent 817ebbe923
commit 242c7acd34
49 changed files with 125 additions and 139 deletions
+3 -3
View File
@@ -233,7 +233,7 @@ def test_should_show_job_with_sending_limit_exceeded_status(
"Notify cannot send these messages because you have reached a limit. You can only send 1,000 messages per day and 250,000 messages in total." # noqa
)
assert normalize_spaces(page.select('main p')[2].text) == (
"Upload this spreadsheet again tomorrow or contact the U.S. Notify team to raise the limit."
"Upload this spreadsheet again tomorrow or contact the Notify.gov team to raise the limit."
)
@@ -245,11 +245,11 @@ def test_should_show_job_with_sending_limit_exceeded_status(
)),
# Just started
(datetime(2020, 1, 10, 0, 0, 0), datetime(2020, 1, 10, 0, 0, 1), (
'No messages to show yet…'
'No messages to show yet…'
)),
# Created a while ago, just started
(datetime(2020, 1, 1, 0, 0, 0), datetime(2020, 1, 10, 0, 0, 1), (
'No messages to show yet…'
'No messages to show yet…'
)),
# Created a while ago, started just within the last 24h
# TODO -- fails locally, should pass, tech debt due to timezone changes, re-evaluate after UTC changes