From 875acee2ac0838cdedd9183664c1fa0bd2a9a878 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Mon, 23 Jun 2014 10:31:02 -0400 Subject: [PATCH] Fix failing unit tests --- .../src/test/java/ca/uhn/fhir/parser/XmlParserTest.java | 1 - .../src/test/java/ca/uhn/fhir/jpa/test/SystemTest.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hapi-fhir-base/src/test/java/ca/uhn/fhir/parser/XmlParserTest.java b/hapi-fhir-base/src/test/java/ca/uhn/fhir/parser/XmlParserTest.java index ad8d6203a73..5e89e97fc78 100644 --- a/hapi-fhir-base/src/test/java/ca/uhn/fhir/parser/XmlParserTest.java +++ b/hapi-fhir-base/src/test/java/ca/uhn/fhir/parser/XmlParserTest.java @@ -60,7 +60,6 @@ import ca.uhn.fhir.model.primitive.XhtmlDt; import ca.uhn.fhir.narrative.INarrativeGenerator; import ca.uhn.fhir.parser.JsonParserTest.MyPatientWithOneDeclaredAddressExtension; import ca.uhn.fhir.parser.JsonParserTest.MyPatientWithOneDeclaredExtension; -import example.QuickUsage.MyClientInterface; public class XmlParserTest { diff --git a/hapi-fhir-jpaserver-test/src/test/java/ca/uhn/fhir/jpa/test/SystemTest.java b/hapi-fhir-jpaserver-test/src/test/java/ca/uhn/fhir/jpa/test/SystemTest.java index ecba811abfb..59b9b83dbb9 100644 --- a/hapi-fhir-jpaserver-test/src/test/java/ca/uhn/fhir/jpa/test/SystemTest.java +++ b/hapi-fhir-jpaserver-test/src/test/java/ca/uhn/fhir/jpa/test/SystemTest.java @@ -41,7 +41,7 @@ public class SystemTest { @Test public void testTransactionFromBundle() throws Exception { - InputStream bundleRes = SystemTest.class.getResourceAsStream("/bundle.json"); + InputStream bundleRes = SystemTest.class.getResourceAsStream("/test-server-seed-bundle.json"); Bundle bundle = new FhirContext().newJsonParser().parseBundle(new InputStreamReader(bundleRes)); List res = bundle.toListOfResources();