Skip to content

Commit

Permalink
Fix #214 - more failing bundle stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
de Beaubien, Bill committed Sep 1, 2015
1 parent bac4c4a commit b6f6340
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,13 +1060,21 @@ public void testParseBundle() throws DataFormatException, IOException {

}

@Ignore
@Test
public void testTotalResultsInJsonBundle() {
String json =
"{" +
" \"resourceType\" : \"Bundle\"," +
" \"title\" : \"FHIR Atom Feed\"," +
" \"id\" : \"cb095f55-afb0-41e8-89d5-155259b2a032\"," +
" \"updated\" : \"2015-09-01T08:52:02.793-04:00\"," +
" \"author\": [" +
" {" +
" \"name\": \"author-name\", " +
" \"uri\": \"uri\" " +
" }" +
" ]," +
" \"link\" : [{" +
" \"rel\" : \"self\"," +
" \"href\" : \"http://fhirtest.uhn.ca/baseDstu1/Patient/_search?family=Perez\"" +
Expand Down Expand Up @@ -1107,8 +1115,6 @@ public void testTotalResultsInJsonBundle() {

IParser jsonParser = ourCtx.newJsonParser();
Bundle bundle = jsonParser.parseBundle(json);
System.out.println("Done");

}

@Test
Expand Down

0 comments on commit b6f6340

Please sign in to comment.