File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
marklogic-data-hub/src/test/java/com/marklogic/bootstrap Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -169,9 +169,11 @@ public void testProjectScaffolding() throws IOException
169169 assertXMLEqual (expectedXml , actualXml );
170170
171171 //checking if triggers are written
172- assertTrue (stagingTriggersClient .newServerEval ().xquery ("fn:count(fn:doc())" ).eval ().next ().getNumber ().intValue () == 4 );
173- // 3 triggers are written as part of installation
174- assertTrue (finalTriggersClient .newServerEval ().xquery ("fn:count(fn:doc())" ).eval ().next ().getNumber ().intValue () == 4 );
172+ // 5 triggers each are written to staging and final as part of installation
173+ assertTrue (stagingTriggersClient .newServerEval ().xquery ("fn:count(fn:doc())" ).eval ().next ().getNumber ().intValue () == 6 ,
174+ "Expected 6 but got " +stagingTriggersClient .newServerEval ().xquery ("fn:count(fn:doc())" ).eval ().next ().getNumber ().intValue ());
175+ assertTrue (finalTriggersClient .newServerEval ().xquery ("fn:count(fn:doc())" ).eval ().next ().getNumber ().intValue () == 6 ,
176+ "Expected 6 but got " +finalTriggersClient .newServerEval ().xquery ("fn:count(fn:doc())" ).eval ().next ().getNumber ().intValue ());
175177
176178 }
177179
You can’t perform that action at this time.
0 commit comments