Test fix
This commit is contained in:
parent
38d03ea99a
commit
f55be0b6d0
|
@ -389,8 +389,8 @@ public class InMemorySubscriptionMatcherTestR4 {
|
|||
msg.setId(new IdType("Patient/ABC"));
|
||||
SubscriptionMatchResult result = myInMemorySubscriptionMatcher.match(subscription, msg);
|
||||
fail();
|
||||
} catch (InternalErrorException e){
|
||||
assertEquals("Failure processing resource ID[Patient/ABC] for subscription ID[Subscription/123]: Invalid resource reference found at path[Patient.managingOrganization] - Does not contain resource type - urn:uuid:13720262-b392-465f-913e-54fb198ff954", e.getMessage());
|
||||
} catch (AssertionError e){
|
||||
assertEquals("Reference at managingOrganization is invalid: urn:uuid:13720262-b392-465f-913e-54fb198ff954", e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ public class ResourceModifiedMessage implements IResourceMessage {
|
|||
continue;
|
||||
}
|
||||
if (ref.startsWith("urn:uuid:")) {
|
||||
throw new AssertionError("Reference at " + next.getName() + " is invalid: " + next.getResourceReference());
|
||||
throw new AssertionError("Reference at " + next.getName() + " is invalid: " + ref);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue