Skip to content

Commit 0ed7f3a

Browse files
committed
updated the assertnull for total in search handle
1 parent 175e892 commit 0ed7f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-complete/src/test/java/com/marklogic/client/functionaltest/TestPOJOWithStringQD.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public void testPOJOSearchWithStringHandle() throws JsonProcessingException, IOE
285285
JsonNode actNode = mapper.readTree(results.get()).get("total");
286286
// System.out.println(expNode.equals(actNode)+"\n"+ expNode.toString()+"\n"+actNode.toString());
287287

288-
assertNull("Total search results resulted are ",actNode );
288+
assertEquals("Total search results resulted are ",actNode.asInt(),0 );
289289
}
290290

291291
}

0 commit comments

Comments
 (0)