@@ -530,7 +530,7 @@ void test17DiscoverDomainWithRequiredArgument(TestInfo testInfo) throws Exceptio
530530 + " -domain_type RestrictedJRF" ;
531531 CommandResult  result  = Runner .run (cmd , getTestMethodEnvironment (testInfo ), out );
532532 // SecurityConfiguration warning 
533-  assertEquals (1 , result .exitValue (), "Unexpected return code" );
533+  assertEquals (0 , result .exitValue (), "Unexpected return code" );
534534
535535 // verify model file 
536536 verifyModelFile (discoveredModel .toString ());
@@ -569,7 +569,7 @@ void test18DiscoverDomainWithModelFile(TestInfo testInfo) throws Exception {
569569 try  (PrintWriter  out  = getTestMethodWriter (testInfo )) {
570570 CommandResult  result  = Runner .run (cmd , getTestMethodEnvironment (testInfo ), out );
571571 // SecurityConfiguration warning 
572-  assertEquals (1 , result .exitValue (), "Unexpected return code" );
572+  assertEquals (0 , result .exitValue (), "Unexpected return code" );
573573
574574 // verify model file 
575575 verifyModelFile (discoveredModelFile .toString ());
@@ -601,7 +601,7 @@ void test19DiscoverDomainWithVariableFile(TestInfo testInfo) throws Exception {
601601 try  (PrintWriter  out  = getTestMethodWriter (testInfo )) {
602602 CommandResult  result  = Runner .run (cmd , getTestMethodEnvironment (testInfo ), out );
603603 // SecurityConfiguration warning 
604-  assertEquals (1 , result .exitValue (), "Unexpected return code" );
604+  assertEquals (0 , result .exitValue (), "Unexpected return code" );
605605
606606 // verify model file and variable file 
607607 verifyModelFile (discoveredModelFile .toString ());
@@ -652,7 +652,7 @@ void test20DiscoverDomainJRFDomainType(TestInfo testInfo) throws Exception {
652652
653653 CommandResult  result  = Runner .run (cmd , getTestMethodEnvironment (testInfo ), out );
654654 // SecurityConfiguration warning 
655-  assertEquals (1 , result .exitValue (), "Unexpected return code" );
655+  assertEquals (0 , result .exitValue (), "Unexpected return code" );
656656
657657 // verify model file 
658658 verifyModelFile (discoveredModelFile .toString ());
0 commit comments