Skip to content

Commit

Permalink
Merge pull request #740 from ministryofjustice/change/1694-remove-opt…
Browse files Browse the repository at this point in the history
…ional-copy-local-authority

Remove optional text for DTR local authority
  • Loading branch information
libuk authored Nov 13, 2023
2 parents dcfbaa2 + 77d72d4 commit a4f906a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cypress_shared/fixtures/applicationTranslatedDocument.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
{
"DTR / NOP reference number": "ABC123",
"Date DTR / NOP was submitted": "12 April 2022",
"What is the local authority (optional)?": "Barking and Dagenham"
"What is the local authority?": "Barking and Dagenham"
},
{ "Has a referral to Commissioned Rehabilitative Services (CRS) been submitted?": "Yes" },
{ "Have other accommodation options been considered?": "Yes - Other accommodation details" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('DtrDetails', () => {
expect(page.response()).toEqual({
'DTR / NOP reference number': 'ABC123',
'Date DTR / NOP was submitted': '23 July 2022',
'What is the local authority (optional)?': localAuthorities[0].name,
'What is the local authority?': localAuthorities[0].name,
})
})
})
Expand All @@ -116,7 +116,7 @@ describe('DtrDetails', () => {
expect(page.response()).toEqual({
'DTR / NOP reference number': 'ABC123',
'Date DTR / NOP was submitted': '23 July 2022',
'What is the local authority (optional)?': 'No local authority selected',
'What is the local authority?': 'No local authority selected',
})
})
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class DtrDetails implements TasklistPage {
questions = {
reference: 'DTR / NOP reference number',
date: 'Date DTR / NOP was submitted',
localAuthority: 'What is the local authority (optional)?',
localAuthority: 'What is the local authority?',
}

constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{{ taSelect(
{
label: {
text: "Local authority (optional)",
text: "Local authority",
classes: "govuk-label--m"
},
hint: {
Expand Down

0 comments on commit a4f906a

Please sign in to comment.