Skip to content

Commit

Permalink
Fix returns requirement button text (#1134)
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4407

The text is wrong for the button to set up a new return requirement it should read "Set up new requirements"
  • Loading branch information
jonathangoulding authored Jun 21, 2024
1 parent 8c76943 commit 49b3ecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/licences/tabs/set-up.njk
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
{% if links.returnVersions.returnsRequired %}
<p>
{{ govukButton({
text: "Set up new returns requirement",
text: "Set up new requirements",
href: links.returnVersions.returnsRequired,
classes: "govuk-button--secondary govuk-!-margin-right-3"
}) }}
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/licences.controller.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ describe('Licences controller', () => {
// Returns for requirements
expect(response.payload).to.contain('Requirements for returns')
// Returns for requirements present
expect(response.payload).to.contain('Set up new returns requirement')
expect(response.payload).to.contain('Set up new requirements')
expect(response.payload).to.contain('Mark licence as')
expect(response.payload).to.contain('no returns needed')
// Charge information
Expand Down

0 comments on commit 49b3ecb

Please sign in to comment.