mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-27 08:47:07 +00:00
Still working on unit tests
This commit is contained in:
parent
774e38eacc
commit
83f9c1c6a9
@ -1305,7 +1305,7 @@ public class ResfulServerMethodTest {
|
|||||||
public Patient vread(@IdParam IdDt theId) {
|
public Patient vread(@IdParam IdDt theId) {
|
||||||
Patient retVal = getIdToPatient().get(theId.getIdPart());
|
Patient retVal = getIdToPatient().get(theId.getIdPart());
|
||||||
if (retVal == null) {
|
if (retVal == null) {
|
||||||
throw new InternalErrorException("Couldn't find ID " + theId.getIdPart() + " - Valid IDs are: " + getIdToPatient().keySet());
|
throw new ResourceNotFoundException("Couldn't find ID " + theId.getIdPart() + " - Valid IDs are: " + getIdToPatient().keySet());
|
||||||
}
|
}
|
||||||
|
|
||||||
List<HumanNameDt> name = retVal.getName();
|
List<HumanNameDt> name = retVal.getName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user