Skip to content

Commit

Permalink
Adjust ExceptionsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Oct 28, 2022
1 parent ae26408 commit d5d4469
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/system/Debug/ExceptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ final class ExceptionsTest extends CIUnitTestCase

private \CodeIgniter\Debug\Exceptions $exception;

public static function setUpBeforeClass(): void
{
parent::setUpBeforeClass();

unset($_SERVER['CODEIGNITER_SCREAM_DEPRECATIONS']);
}

public static function tearDownAfterClass(): void
{
parent::tearDownAfterClass();

$_SERVER['CODEIGNITER_SCREAM_DEPRECATIONS'] = '1';
}

protected function setUp(): void
{
parent::setUp();
Expand Down

0 comments on commit d5d4469

Please sign in to comment.