Skip to content

Commit b0478b6

Browse files
authored
Improve tests not to rely on settings.FXC_BASE_URL default value (#16443)
1 parent f2d40a7 commit b0478b6

File tree

2 files changed

+71
-71
lines changed

2 files changed

+71
-71
lines changed

bedrock/firefox/tests/test_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def test_send_to_device_form(test_input, expected):
611611
"",
612612
"",
613613
True,
614-
'<link rel="canonical" href="https://www.firefox.com/en-US/firefox/140.0/releasenotes/">',
614+
f'<link rel="canonical" href="{settings.FXC_BASE_URL}/en-US/firefox/140.0/releasenotes/">',
615615
),
616616
(
617617
"/en-US/firefox/140.0/releasenotes/",
@@ -625,7 +625,7 @@ def test_send_to_device_form(test_input, expected):
625625
"/some/other/path/",
626626
"",
627627
True,
628-
'<link rel="canonical" href="https://www.firefox.com/some/other/path/">',
628+
f'<link rel="canonical" href="{settings.FXC_BASE_URL}/some/other/path/">',
629629
),
630630
(
631631
"/en-US/firefox/140.0/releasenotes/",

0 commit comments

Comments
 (0)