Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #330 from GetDKAN/fail-phpuniut
Browse files Browse the repository at this point in the history
Return actual status from dkan:test-phpunit
  • Loading branch information
paul-m authored Jun 30, 2022
2 parents c159889 + 418325c commit 8fd1d2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Command/DkanCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ public function dkanTestCypress(array $args)
$cypress->arg($arg);
}

$cypress->run();
$result = $cypress->run();
$this->deleteTestUsers();
return $result;
}

/**
Expand Down Expand Up @@ -112,8 +113,9 @@ public function dkanTestPhpunit(array $args)
$phpunitExec->arg($arg);
}

$phpunitExec->run();
$result = $phpunitExec->run();
$this->deleteTestUsers();
return $result;
}

/**
Expand Down

0 comments on commit 8fd1d2c

Please sign in to comment.