Fix #214 - added totalResults to the hash of valid dstu1 keywords

This commit is contained in:
de Beaubien, Bill 2015-09-01 09:58:25 -04:00
parent 6139e498be
commit bac4c4a2e9
2 changed files with 1 additions and 1 deletions

View File

@ -117,6 +117,7 @@ public class JsonParser extends BaseParser implements IParser {
hashSetDstu1.add("id"); hashSetDstu1.add("id");
hashSetDstu1.add("updated"); hashSetDstu1.add("updated");
hashSetDstu1.add("published"); hashSetDstu1.add("published");
hashSetDstu1.add("totalResults");
BUNDLE_TEXTNODE_CHILDREN_DSTU1 = Collections.unmodifiableSet(hashSetDstu1); BUNDLE_TEXTNODE_CHILDREN_DSTU1 = Collections.unmodifiableSet(hashSetDstu1);
HashSet<String> hashSetDstu2 = new HashSet<String>(); HashSet<String> hashSetDstu2 = new HashSet<String>();

View File

@ -1060,7 +1060,6 @@ public class JsonParserTest {
} }
@Ignore
@Test @Test
public void testTotalResultsInJsonBundle() { public void testTotalResultsInJsonBundle() {
String json = String json =