@@ -139,7 +139,7 @@ def test_scenario_13(page: Page) -> None:
139139
140140 query , bind_vars = SubjectSelectionQueryBuilder ().build_subject_selection_query (
141141 criteria = criteria ,
142- user = User (),
142+ user = User (). from_user_role_type ( user_role ) ,
143143 subject = Subject (),
144144 subjects_to_retrieve = 1 ,
145145 )
@@ -536,7 +536,7 @@ def test_scenario_13(page: Page) -> None:
536536 # Then my subject has been updated as follows:
537537 criteria = {
538538 "which diagnostic test" : "Latest not-void test in latest episode" ,
539- "calculated FOBT Due Date" : "Unchanged " ,
539+ "calculated FOBT Due Date" : "2 years from episode end " ,
540540 "calculated Lynch due date" : "Null" ,
541541 "calculated Surveillance Due Date" : "3 years from episode end" ,
542542 "ceased confirmation date" : "Today" ,
@@ -554,6 +554,7 @@ def test_scenario_13(page: Page) -> None:
554554 "lynch due date reason" : "Unchanged" ,
555555 "lynch due date date of change" : "Unchanged" ,
556556 "pre-interrupt event status" : "A259 Attended Diagnostic Test" ,
557+ "previous screening status" : "Surveillance" ,
557558 "screening Due Date" : "Null" ,
558559 "screening Due Date Date of change" : "Today" ,
559560 "screening Due Date Reason" : "Ceased" ,
@@ -562,7 +563,7 @@ def test_scenario_13(page: Page) -> None:
562563 "screening status reason" : "Individual has left the country" ,
563564 "surveillance Due Date" : "Null" ,
564565 "surveillance due date date of change" : "Unchanged" ,
565- "surveillance due date reason" : "Unchanged " ,
566+ "surveillance due date reason" : "Ceased " ,
566567 "symptomatic procedure date" : "Null" ,
567568 "symptomatic procedure result" : "Null" ,
568569 "screening referral type" : "Null" ,
@@ -634,8 +635,8 @@ def test_scenario_13(page: Page) -> None:
634635 "screening status date of change" : "Today" ,
635636 "screening status reason" : "Reopened episode" ,
636637 "surveillance due date" : "Null" ,
637- "surveillance due date date of change" : "Unchanged " ,
638- "surveillance due date reason" : "Unchanged " ,
638+ "surveillance due date date of change" : "Null " ,
639+ "surveillance due date reason" : "Null " ,
639640 "symptomatic procedure date" : "Null" ,
640641 "symptomatic procedure result" : "Null" ,
641642 "screening referral type" : "Null" ,
0 commit comments