Skip to content

Commit 96fad79

Browse files
authored
Merge pull request #419 from NHSDigital/remove-unused-flag
remove unused is_created flag
2 parents f921d5b + b81d386 commit 96fad79

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mavis/test/pages/children.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def expect_text_in_heading(self, text: str) -> None:
119119
expect(self.page.get_by_role("heading")).to_contain_text(text)
120120

121121
def verify_activity_log_for_created_or_matched_child(
122-
self, child_name: str, location: str, *, is_created: bool
122+
self, child_name: str, location: str
123123
):
124124
self.search_textbox.fill(child_name)
125125
self.search_button.click()

tests/test_consent_responses.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_match(
8888
dashboard_page.click_mavis()
8989
dashboard_page.click_children()
9090
children_page.verify_activity_log_for_created_or_matched_child(
91-
str(children[0]), schools[0], is_created=False
91+
str(children[0]), schools[0]
9292
)
9393

9494

@@ -132,7 +132,7 @@ def test_create_with_nhs_number(
132132
dashboard_page.click_mavis()
133133
dashboard_page.click_children()
134134
children_page.verify_activity_log_for_created_or_matched_child(
135-
f"{child_name[1]}, {child_name[0]}", schools[0], is_created=False
135+
f"{child_name[1]}, {child_name[0]}", schools[0]
136136
)
137137

138138

@@ -157,5 +157,5 @@ def test_create_with_no_nhs_number(
157157
dashboard_page.click_mavis()
158158
dashboard_page.click_children()
159159
children_page.verify_activity_log_for_created_or_matched_child(
160-
str(children[0]), schools[0], is_created=False
160+
str(children[0]), schools[0]
161161
)

0 commit comments

Comments
 (0)