From a0b991d7de4bfbcc823c113a8438142827bf7cba Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 5 Feb 2015 21:39:25 +0100 Subject: Make Test-More useable for our usecase Signed-off-by: Florian Pritz --- application/third_party/test-more-php/Test-More-OO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/third_party/test-more-php/Test-More-OO.php') diff --git a/application/third_party/test-more-php/Test-More-OO.php b/application/third_party/test-more-php/Test-More-OO.php index 195c27b00..aa769e3ee 100755 --- a/application/third_party/test-more-php/Test-More-OO.php +++ b/application/third_party/test-more-php/Test-More-OO.php @@ -280,7 +280,7 @@ class TestMore extends TestSimple { // Not a bail because you asked for it if ($ok == FALSE) { $this->diag(" Exiting due to missing requirement."); - exit(); + throw new RuntimeException("Missing requirement"); } return $ok; -- cgit v1.2.3-24-g4f1b