Add simulated SMS numbers to allow list in trial mode

This commit is contained in:
Andrew Shumway
2024-03-13 16:31:21 -06:00
parent e9148851fb
commit 599652256e
2 changed files with 24 additions and 13 deletions

View File

@@ -2612,8 +2612,10 @@ def test_preview_notification_shows_preview(
session["placeholders"] = {}
page = client_request.post(
"main.preview_notification", service_id=service_one["id"], template_id=fake_uuid,
_expected_status=200
"main.preview_notification",
service_id=service_one["id"],
template_id=fake_uuid,
_expected_status=200,
)
assert page.h1.text.strip() == "Preview"
assert (page.find_all("a", {"class": "usa-back-link"})[0]["href"]) == url_for(