Skip to content

Commit aa46d58

Browse files
committed
updated test exception message
1 parent 5b0e687 commit aa46d58

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/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);

0 commit comments

Comments
 (0)