Skip to content

Commit

Permalink
rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tllew committed Jan 7, 2025
1 parent bf679f5 commit 2d22863
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion caseworker/advice/forms/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class GiveApprovalAdviceForm(PicklistAdviceForm):
)
instructions_to_exporter = forms.CharField(
widget=forms.Textarea(attrs={"rows": "3"}),
label="Add any instructions for the exporter (optional)",
label="Add instructions to the exporter, or a reporting footnote (optional)",
help_text="These may be added to the licence cover letter, subject to review by the Licensing Unit.",
required=False,
)
Expand Down
4 changes: 2 additions & 2 deletions unit_tests/caseworker/advice/views/test_edit_advice.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def test_give_approval_advice_post_valid_add_conditional(
soup = beautiful_soup(response.content)
# redirected to next form
header = soup.find("h1")
assert header.text == "Add licence conditions, instructions to exporter or footnotes (optional)"
assert header.text == "Add licence conditions (optional)"

add_licence_condition_response = post_to_step(
AdviceSteps.LICENCE_CONDITIONS,
Expand All @@ -248,7 +248,7 @@ def test_give_approval_advice_post_valid_add_conditional(
soup = beautiful_soup(add_licence_condition_response.content)
# redirected to next form
header = soup.find("h1")
assert header.text == "Instructions for the exporter (optional)"
assert header.text == "Add instructions to the exporter, or a reporting footnote (optional)"

add_instructions_response = post_to_step(
AdviceSteps.LICENCE_FOOTNOTES,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_approval_advice_post_valid_add_conditional(
soup = beautiful_soup(response.content)
# redirected to next form
header = soup.find("h1")
assert header.text == "Add licence conditions, instructions to exporter or footnotes (optional)"
assert header.text == "Add licence conditions (optional)"

add_LC_response = post_to_step(
AdviceSteps.LICENCE_CONDITIONS,
Expand All @@ -82,7 +82,7 @@ def test_approval_advice_post_valid_add_conditional(
soup = beautiful_soup(add_LC_response.content)
# redirected to next form
header = soup.find("h1")
assert header.text == "Instructions for the exporter (optional)"
assert header.text == "Add instructions to the exporter, or a reporting footnote (optional)"

add_instructions_response = post_to_step(
AdviceSteps.LICENCE_FOOTNOTES,
Expand Down Expand Up @@ -110,7 +110,7 @@ def test_approval_advice_post_valid_add_conditional_optional(
soup = beautiful_soup(response.content)
# redirected to next form
header = soup.find("h1")
assert header.text == "Add licence conditions, instructions to exporter or footnotes (optional)"
assert header.text == "Add licence conditions (optional)"

add_LC_response = post_to_step(
AdviceSteps.LICENCE_CONDITIONS,
Expand All @@ -120,7 +120,7 @@ def test_approval_advice_post_valid_add_conditional_optional(
soup = beautiful_soup(add_LC_response.content)
# redirected to next form
header = soup.find("h1")
assert header.text == "Instructions for the exporter (optional)"
assert header.text == "Add instructions to the exporter, or a reporting footnote (optional)"

add_instructions_response = post_to_step(
AdviceSteps.LICENCE_FOOTNOTES,
Expand Down

0 comments on commit 2d22863

Please sign in to comment.