Skip to content

Commit 3c5951c

Browse files
Add additional test case that previously caused an erroneous 404
1 parent 7579701 commit 3c5951c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/fhir/bluebutton/tests/test_utils.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ def test_valid_patient_read_or_search_call_valid_search_calls(self):
9595
)
9696
assert result is True
9797

98+
result = valid_patient_read_or_search_call(
99+
'PatientId:-99140000008329',
100+
None,
101+
'_id=-99140000008329&_lastUpdated=lt2024-06-15&startIndex=0&cursor=0'
102+
)
103+
assert result is True
104+
98105
def test_valid_patient_read_or_search_call_invalid_search_calls(self):
99106
result = valid_patient_read_or_search_call('PatientId:-20140000008329', None, '_id=-99140000008329')
100107
assert result is False

0 commit comments

Comments
 (0)