Skip to content

Commit 307efdc

Browse files
authored
Merge pull request #65 from stof/remove_automatic_skipping
Remove usage of onNotSuccessfulTest to mark tests as skipped
2 parents 5f8d508 + 8f0c6d0 commit 307efdc

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/TestCase.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ protected function resetSessions()
7777
}
7878
}
7979

80-
protected function onNotSuccessfulTest(\Throwable $e): void
81-
{
82-
if ($e instanceof UnsupportedDriverActionException) {
83-
@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);
84-
$this->markTestSkipped($e->getMessage());
85-
}
86-
87-
parent::onNotSuccessfulTest($e);
88-
}
89-
9080
/**
9181
* Returns session.
9282
*

0 commit comments

Comments
 (0)