diff --git a/tests/TestCase.php b/tests/TestCase.php index b46b2a9..d97f6f0 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -77,16 +77,6 @@ protected function resetSessions() } } - protected function onNotSuccessfulTest(\Throwable $e): void - { - if ($e instanceof UnsupportedDriverActionException) { - @trigger_error(sprintf('Relying on catching "UnsupportedDriverActionException" to mark tests as skipped is deprecated. The test "%s::%s" should be marked as skipped through the test config.', get_class($this), $this->getName(false)), E_USER_DEPRECATED); - $this->markTestSkipped($e->getMessage()); - } - - parent::onNotSuccessfulTest($e); - } - /** * Returns session. *