diff --git a/src/Command/DkanCommands.php b/src/Command/DkanCommands.php index 2c20d8d..3ce4ae8 100644 --- a/src/Command/DkanCommands.php +++ b/src/Command/DkanCommands.php @@ -70,8 +70,9 @@ public function dkanTestCypress(array $args) $cypress->arg($arg); } - $cypress->run(); + $result = $cypress->run(); $this->deleteTestUsers(); + return $result; } /** @@ -112,8 +113,9 @@ public function dkanTestPhpunit(array $args) $phpunitExec->arg($arg); } - $phpunitExec->run(); + $result = $phpunitExec->run(); $this->deleteTestUsers(); + return $result; } /**