mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 19:54:45 +02:00
Restore exception_handler
& error_handler
for Tests (#1239)
This commit is contained in:
parent
02d7ad04ad
commit
702a6bb750
@ -42,6 +42,9 @@ abstract class TestCase extends BaseTestCase
|
||||
*/
|
||||
protected function tearDown(): void
|
||||
{
|
||||
restore_exception_handler();
|
||||
restore_error_handler();
|
||||
|
||||
parent::tearDown();
|
||||
|
||||
Carbon::setTestNow();
|
||||
|
Loading…
x
Reference in New Issue
Block a user