From 517222d18341623ce3fdb32d2d76b18ffd24f0e1 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Tue, 1 Sep 2015 18:24:32 -0400 Subject: [PATCH] Fix tests --- .../test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java index 7bd94e326ea..b2a0ee07bd0 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java @@ -330,7 +330,7 @@ public class FhirResourceDaoDstu2Test extends BaseJpaDstu2Test { myPatientDao.create(p); fail(); } catch (InvalidRequestException e) { - assertThat(e.getMessage(), containsString("Does not contain resource ID")); + assertThat(e.getMessage(), containsString("Invalid resource reference")); } }