Skip to content

Commit 43f317d

Browse files
author
Sravan Kottam
committed
Merge remote-tracking branch 'origin/dev' into dev
updated local copy
2 parents ba25482 + 02a2b16 commit 43f317d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void testPOJOValueSearchWithNoResults() throws Exception {
236236
assertEquals("Page size",count,p.size());
237237
pageNo=pageNo+p.getPageSize();
238238
}while(!p.isLastPage() && pageNo<=p.getTotalSize());
239-
assertEquals("page number after the loop",0,p.getPageNumber());
239+
assertEquals("page number after the loop",1,p.getPageNumber());
240240
assertEquals("total no of pages",0,p.getTotalPages());
241241
assertEquals("page length from search handle",5,jh.get().path("page-length").asInt());
242242
// assertEquals("Total results from search handle",10,jh.get().path("total").asInt());

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void testResponseTransformInvalid() throws IOException, ParserConfigurati
196196
System.out.println(exception);
197197
}
198198

199-
String expectedException = "Local message: search failed: Bad Request. Server Message: RESTAPI-INVALIDREQ: (err:FOER0000) Invalid request: reason: transform extension does not exist: foo";
199+
String expectedException = "Local message: search failed: Bad Request. Server Message: XDMP-MODNOTFOUND: (err:XQST0059) Module /marklogic.rest.transform/foo/assets/transform.xqy not found";
200200
assertTrue("exception is not thrown", exception.contains(expectedException));
201201
//bug 22356
202202
assertTrue("Value should be null", resultsHandle.get()==null);

test-complete/src/test/java/com/marklogic/client/functionaltest/data/module.xqy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
xquery version "1.0-ml";
12
(:
23
Copyright 2014-2015 MarkLogic Corporation
34
@@ -14,7 +15,7 @@
1415
limitations under the License.
1516
:)
1617

17-
xquery version "1.0-ml";
18+
1819

1920
module namespace my = "http://my.test.module";
2021
declare function my:useless()

0 commit comments

Comments
 (0)