Skip to content

Commit e980fcb

Browse files
committed
fix confusing test step
the subject is the mammographer, it's the participant that has the upcoming appointment.
1 parent 951e396 commit e980fcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

manage_breast_screening/participants/tests/system/test_participant_record.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def before(self, time_machine):
2424

2525
@pytest.mark.skip("not implemented yet")
2626
def test_viewing_participant_record_from_an_appointment(self):
27-
self.given_i_have_an_upcoming_appointment()
27+
self.given_the_participant_has_an_upcoming_appointment()
2828
self.given_i_am_viewing_the_upcoming_appointment()
2929
self.when_i_click_on_view_participant_record()
3030
self.then_i_should_be_on_the_participant_record_page()
@@ -37,7 +37,7 @@ def test_accessibility(self):
3737
self.then_the_accessibility_baseline_is_met()
3838

3939
def test_viewing_upcoming_appointments(self):
40-
self.given_i_have_an_upcoming_appointment()
40+
self.given_the_participant_has_an_upcoming_appointment()
4141
self.and_i_am_on_the_participant_record_page()
4242
self.then_i_should_see_the_upcoming_appointment()
4343
self.when_i_click_on_the_upcoming_appointment()
@@ -50,7 +50,7 @@ def test_viewing_past_appointments(self):
5050
self.when_i_click_on_a_past_appointment()
5151
self.then_i_should_be_on_the_past_appointment_page()
5252

53-
def given_i_have_an_upcoming_appointment(self):
53+
def given_the_participant_has_an_upcoming_appointment(self):
5454
clinic_slot = ClinicSlotFactory(
5555
starts_at=datetime(2025, 1, 2, 11, tzinfo=tz.utc)
5656
)

0 commit comments

Comments
 (0)