Skip to content

Commit 0ce03c6

Browse files
committed
Merge remote-tracking branch 'origin/newRegressionTests' into dev
2 parents b8f7b12 + aa46d58 commit 0ce03c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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)