Skip to content

Commit 71a718d

Browse files
committed
updated the test by correcting the key to not to look for total
1 parent bb5e332 commit 71a718d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-complete/src/test/java/com/marklogic/javaclient/TestSearchOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ public void testSetViewMetadata() throws IOException, ParserConfigurationExcepti
125125

126126
// get the result
127127
Document resultDoc = resultsHandle.get();
128-
//System.out.println(convertXMLDocumentToString(resultDoc));
128+
System.out.println(convertXMLDocumentToString(resultDoc));
129129

130-
assertXpathEvaluatesTo("3", "string(//*[local-name()='response']//@*[local-name()='total'])", resultDoc);
130+
assertXpathEvaluatesTo("1", "string(//*[local-name()='response']//@*[local-name()='start'])", resultDoc);
131131
assertXpathExists("//*[local-name()='metrics']", resultDoc);
132132

133133
// release client

0 commit comments

Comments
 (0)