Skip to content

Commit de818a6

Browse files
committed
fix
1 parent 6069114 commit de818a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ErrorHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Yiisoft\ErrorHandler\Tests;
66

7+
use PHPUnit\Framework\Attributes\WithoutErrorHandler;
78
use PHPUnit\Framework\TestCase;
89
use Psr\Log\LoggerInterface;
910
use RuntimeException;
@@ -85,6 +86,7 @@ public function testHandleThrowableWithoutExposedDetailsCallsRender(): void
8586
$this->errorHandler->handle($throwable);
8687
}
8788

89+
#[WithoutErrorHandler]
8890
public function testHandleError(): void
8991
{
9092
$array = [];
@@ -94,6 +96,7 @@ public function testHandleError(): void
9496
$this->errorHandler->unregister();
9597
}
9698

99+
#[WithoutErrorHandler]
97100
public function testHandleErrorWithCatching(): void
98101
{
99102
$this->errorHandler->register();

0 commit comments

Comments
 (0)