Skip to content

Commit

Permalink
WIP: removing unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Dec 29, 2023
1 parent 6dd5a73 commit 6b47dbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion patientsearch/src/js/context/PatientListContextProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,6 @@ export default function PatientListContextProvider({ children }) {
),
},
});
console.log("I am not handling a search!");
const handleSearch = (rowData) => {
console.log("I am in a search!");
if (!rowData) {
Expand Down
8 changes: 2 additions & 6 deletions tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,15 +400,11 @@ def test_duplicate_inactive(

# assert result == internal_patient_active_match["entry"][0]["resource"]


def test_new_resource_hook(
def test_new_resource_hook_ext(
client,
patient_resource,
):
"""Given a resource, produce a new resource"""

result_same = new_resource_hook(patient_resource)
assert result_same == patient_resource
"""Given a resource with create_new_patient flag set to True, produce a new resource"""

result_extended = new_resource_hook(patient_resource, True)
assert result_extended != patient_resource
1 change: 1 addition & 0 deletions tests/test_sync/patient_resource.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"resourceType": "Patient",
"id": "1102",
"name": [
{
"family": "skywalker",
Expand Down

0 comments on commit 6b47dbf

Please sign in to comment.