Skip to content

Commit 0c85f9f

Browse files
committed
Update test to match new content
1 parent 2c9b164 commit 0c85f9f

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

tests/app/main/views/test_index.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,9 @@ def test_sms_price(
378378
== f"Text messages Up to 30,000 free text messages a year, then {expected_rate} pence per message"
379379
)
380380

381-
assert (
382-
f"When a service has used its annual allowance, it costs "
383-
f"{expected_rate} pence (plus VAT) for each text message you "
384-
f"send."
385-
) in normalize_spaces(text_message_pricing_page.text)
381+
assert f"A single, 160-character text message costs {expected_rate} pence (plus VAT)." in normalize_spaces(
382+
text_message_pricing_page.text
383+
)
386384

387385

388386
def test_guidance_daily_limits(client_request):

tests/app/main/views/test_pricing.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@ def test_guidance_pricing_letters(client_request, mock_get_letter_rates):
3939
(
4040
(
4141
0.0233,
42-
"Each unique service you add has an annual allowance of free text messages.",
43-
(
44-
"When a service has used its annual allowance, it costs 2.33 pence (plus VAT) "
45-
"for each text message you send."
46-
),
42+
"A single, 160-character text message costs 2.33 pence (plus VAT).",
43+
"Find out how text message pricing works.",
4744
),
4845
),
4946
)

0 commit comments

Comments
 (0)