Skip to content

Commit

Permalink
chore: fix failing tests due to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewleith committed Dec 5, 2024
1 parent f2e6c42 commit 7355953
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/app/main/views/test_send.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def test_send_one_off_does_not_send_without_the_correct_permissions(
(
create_sms_template(), # SMS
partial(url_for, "main.send_test"),
"What is the custom content in ((name)) ?",
"What is the custom content in ((name)) ?",
False,
),
(
Expand All @@ -1143,19 +1143,19 @@ def test_send_one_off_does_not_send_without_the_correct_permissions(
(
create_sms_template(),
partial(url_for, "main.send_test", help=1),
"What is the custom content in ((name)) ?",
"What is the custom content in ((name)) ?",
True,
),
(
create_email_template(),
partial(url_for, "main.send_test", help=1),
"What is the custom content in ((thing)) ?",
"What is the custom content in ((thing)) ?",
True,
),
(
create_email_template(),
partial(url_for, "main.send_test"),
"What is the custom content in ((thing)) ?",
"What is the custom content in ((thing)) ?",
False,
),
(
Expand Down Expand Up @@ -1700,7 +1700,7 @@ def test_send_test_sms_message_with_placeholders_shows_first_field(
_follow_redirects=True,
)

assert page.select("label")[0].text.strip() == "What is the custom content in ((name)) ?"
assert page.select("label")[0].text.strip() == "What is the custom content in ((name)) ?"
assert page.select("input")[0]["name"] == "placeholder_value"
assert page.select(".back-link")[0]["href"] == url_for(expected_back_link_endpoint, service_id=SERVICE_ONE_ID, **extra_args)
with client_request.session_transaction() as session:
Expand Down

0 comments on commit 7355953

Please sign in to comment.