mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-04 13:30:02 -04:00
fixed test
This commit is contained in:
@@ -2610,11 +2610,9 @@ def test_preview_notification_shows_preview(
|
||||
session["recipient"] = "2028675301"
|
||||
session["placeholders"] = {}
|
||||
|
||||
|
||||
page = client_request.get(
|
||||
"main.preview_notification", service_id=service_one["id"], template_id=fake_uuid
|
||||
)
|
||||
|
||||
assert page.h1.text.strip() == "Preview"
|
||||
assert (page.find_all("a", {"class": "usa-back-link"})[0]["href"]) == url_for(
|
||||
"main.check_notification",
|
||||
|
||||
Reference in New Issue
Block a user