Skip to content

Commit

Permalink
Updated column heading for additional days table (#284)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavilion Sahota <pavilion.sahota@justice.gov.uk>
Co-authored-by: ldlharper <luke.harper@digital.justice.gov.uk>
  • Loading branch information
3 people authored Apr 5, 2024
1 parent 75a8ed3 commit 9634efd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/model/reviewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class ReviewModel {
},
{
key: {
text: 'Number of additional days restored',
text: 'Number of days',
},
value: {
text: adjustment.days,
Expand Down
2 changes: 1 addition & 1 deletion server/model/viewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class ViewModel {
return [
{ text: 'Date of days restored' },
{ text: 'Entered by' },
{ text: 'Number of additional days restored', format: 'numeric' },
{ text: 'Number of days', format: 'numeric' },
{ text: 'Actions' },
]
}
Expand Down
2 changes: 1 addition & 1 deletion server/routes/adjustmentRoutes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ describe('Adjustment routes tests', () => {
expect(res.text).toContain('Anon')
expect(res.text).toContain('Date of days restored')
expect(res.text).toContain('5 Apr 2023')
expect(res.text).toContain('Number of additional days restored')
expect(res.text).toContain('Number of days')
expect(res.text).toContain('24')
expect(res.text).toContain('Confirm and save')
expect(res.text).toContain(`/${NOMS_ID}/restored-additional-days/edit`)
Expand Down

0 comments on commit 9634efd

Please sign in to comment.