Fix test
This commit is contained in:
parent
c9f85111ab
commit
3a0f97b6c1
|
@ -114,8 +114,8 @@ public class GenericClientDstu2Test {
|
||||||
try {
|
try {
|
||||||
client.read(new UriDt("http://example.com/InvalidResource/1"));
|
client.read(new UriDt("http://example.com/InvalidResource/1"));
|
||||||
fail();
|
fail();
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (DataFormatException e) {
|
||||||
assertEquals("Unable to determine the resource type from the given URI: ?aaaa", e.getMessage());
|
assertEquals("Unknown resource name \"InvalidResource\" (this name is not known in FHIR version \"DSTU2\")", e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue