Try without autoloading
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
97c4c00e3f
commit
09d8387b00
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class SimpleContainer extends Container implements IContainer {
|
|||
try {
|
||||
$parameters[] = $this->query($resolveName);
|
||||
} catch (\Exception $e) {
|
||||
if (class_exists("PHPUnit_Framework_AssertionFailedError") &&
|
||||
if (class_exists("PHPUnit_Framework_AssertionFailedError", false) &&
|
||||
$e instanceof \PHPUnit_Framework_AssertionFailedError) {
|
||||
// Easier debugging of "Your test case is not allowed to access the database."
|
||||
throw $e;
|
||||
|
|
Loading…
Reference in a new issue