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…
Reference in New Issue