Dropped php-test-helpers for uopz

Seems that uopz has superseded php-test-helpers. Updated the exit overloading and adjusted some tests based on the new behavior of not echoing out the argument passed to exit().
This commit is contained in:
Josh Sherman 2014-07-12 12:41:47 -04:00
parent 018ae0edc1
commit 260b532a66
3 changed files with 7 additions and 21 deletions

View file

@ -1,14 +1,6 @@
<?php
set_exit_overload(function($status = false)
{
if ($status)
{
echo $status;
}
return false;
});
uopz_overload(ZEND_EXIT, function(){});
ob_start();
@session_start();

View file

@ -29,7 +29,7 @@ class ModuleTest extends PHPUnit_Framework_TestCase
public function testAutoRunParentError()
{
$this->expectOutputString('Errors encountered, this is a @todo for form validation when calling modules from inside of modules');
$this->expectOutputString('');
$model = new MockChildModule(true);
}