Skip to content

Commit

Permalink
Fix incorrect expectations on getReferenceKey without and right type …
Browse files Browse the repository at this point in the history
…specifier

These should be false, as `link.other.getReferenceKey()` should return a key for `Patient/p3`. The absence of the type specifier should not cause this to return an empty collection, rather the collection should be unconstrained by the type of the reference.

In the case where it is the right type specifier, it should also return a non-empty collection.
  • Loading branch information
johngrimes committed Jun 26, 2024
1 parent 57b9035 commit 858f743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/fn_reference_keys.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"key_equal_ref": true
},
{
"key_equal_ref": null
"key_equal_ref": false
}
]
},
Expand All @@ -73,7 +73,7 @@
"key_equal_ref": true
},
{
"key_equal_ref": null
"key_equal_ref": false
}
]
},
Expand Down

0 comments on commit 858f743

Please sign in to comment.