mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 18:27:23 +01:00
@ -49,7 +49,7 @@ final class TestCall
|
|||||||
{
|
{
|
||||||
if (is_int($exception)) {
|
if (is_int($exception)) {
|
||||||
$exceptionCode = $exception;
|
$exceptionCode = $exception;
|
||||||
} else if (class_exists($exception)) {
|
} elseif (class_exists($exception)) {
|
||||||
$this->testCaseMethod
|
$this->testCaseMethod
|
||||||
->proxies
|
->proxies
|
||||||
->add(Backtrace::file(), Backtrace::line(), 'expectException', [$exception]);
|
->add(Backtrace::file(), Backtrace::line(), 'expectException', [$exception]);
|
||||||
|
|||||||
Reference in New Issue
Block a user