Skip to content

Commit ae6917c

Browse files
committed
PPHA-706: Use correct label class for duration years in periods stopped smoking
1 parent 8305a1f commit ae6917c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lung_cancer_screening/questions/forms/periods_when_you_stopped_smoking_form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, *args, **kwargs):
3131

3232
self.fields["duration_years"] = IntegerField(
3333
label=self.duration_years_label(),
34-
label_classes="nhsuk-fieldset__legend--s",
34+
label_classes="nhsuk-label--s",
3535
classes="nhsuk-input--width-4",
3636
hint=self.duration_years_hint(),
3737
required=False,

lung_cancer_screening/questions/tests/unit/models/test_periods_when_you_stopped_smoking_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def test_is_invalid_if_duration_years_is_longer_than_time_they_have_smoked_and_t
161161
"The number of years you stopped smoking must be fewer than the total number of years you have been smoking",
162162
)
163163

164-
@tag("wip")
164+
165165
def test_is_invalid_if_duration_years_is_longer_than_time_they_have_smoked_and_they_are_a_former_smoker(self):
166166
self.date_of_birth_response.value = datetime.today() - relativedelta(years=55)
167167
self.date_of_birth_response.save()

0 commit comments

Comments
 (0)