Skip to content

Commit

Permalink
formatting stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-pandey1729 committed Oct 21, 2023
1 parent 79a5c20 commit b212e97
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions backend/pkg/models/database/fhir_patient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,10 @@ func TestFhirPatient_ExtractSearchParameters(t *testing.T) {
var testTelecom []interface{}
err = json.Unmarshal(json.RawMessage(patientModel.Telecom), &testTelecom)
require.NoError(t, err)
telecom_1 := map[string]interface{}{
"code": "(03) 5555 6473",
"system": "phone",
}
telecom_2 := map[string]interface{}{
"code": "(03) 3410 5613",
"system": "phone",
}
telecom_3 := map[string]interface{}{
"code":"(03) 5555 8834",
"system": "phone",
}
require.Equal(t, []interface{}{
telecom_1,
telecom_2,
telecom_3,
map[string]interface{}{"code": "(03) 5555 6473","system": "phone"},
map[string]interface{}{"code": "(03) 3410 5613","system": "phone"},
map[string]interface{}{"code":"(03) 5555 8834","system": "phone"},
}, testTelecom)

var testIdentifier []interface{}
Expand Down

0 comments on commit b212e97

Please sign in to comment.