We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6069114 commit de818a6Copy full SHA for de818a6
tests/ErrorHandlerTest.php
@@ -4,6 +4,7 @@
4
5
namespace Yiisoft\ErrorHandler\Tests;
6
7
+use PHPUnit\Framework\Attributes\WithoutErrorHandler;
8
use PHPUnit\Framework\TestCase;
9
use Psr\Log\LoggerInterface;
10
use RuntimeException;
@@ -85,6 +86,7 @@ public function testHandleThrowableWithoutExposedDetailsCallsRender(): void
85
86
$this->errorHandler->handle($throwable);
87
}
88
89
+ #[WithoutErrorHandler]
90
public function testHandleError(): void
91
{
92
$array = [];
@@ -94,6 +96,7 @@ public function testHandleError(): void
94
96
$this->errorHandler->unregister();
95
97
98
99
100
public function testHandleErrorWithCatching(): void
101
102
$this->errorHandler->register();
0 commit comments