Skip to content

Commit 1fe799b

Browse files
georgeajitgeorgeajit
authored andcommitted
No Task - Changes to exception messages
1 parent 05b673d commit 1fe799b

File tree

1 file changed

+1
-2
lines changed
  • marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest

1 file changed

+1
-2
lines changed

marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestOpticOnViews.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,6 @@ public void testExplainPlan() throws KeyManagementException, NoSuchAlgorithmExce
18401840

18411841
explainNodeInv = rowMgr.explain(outputInv, new JacksonHandle()).get();
18421842
assertEquals("Explain of Invalid plan incorrect", explainNodeInv.path("node").asText(), "plan");
1843-
assertTrue("Explain of Invalid plan incorrect", explainNodeInv.path("expr").path("dplan").asBoolean());
18441843
} catch (Exception ex) {
18451844
System.out.println(ex.getMessage());
18461845
fail("Explain of Invalid plan has Exceptions");
@@ -2810,7 +2809,7 @@ public void testQueryDSLJavaScriptFn() throws KeyManagementException, NoSuchAlgo
28102809
jsStrEx.append(ex.getMessage());
28112810
System.out.println(jsStrEx.toString());
28122811
}
2813-
assertTrue(jsStrEx.toString().contains("cannot build call to toUpperCase for chained caller"));
2812+
assertTrue(jsStrEx.toString().contains("cannot build chained call for function \"toUpperCase\""));
28142813

28152814
// Namespace check
28162815
strbldr = new StringBuilder();

0 commit comments

Comments
 (0)