cb33c1c for PHPLIB-1369 inadvertently changed the logic to cleanup test collections when tests fail instead of succeed.
PHPUnit 10 removed the TestCase::hasFailed() method. The onNotSuccessfulTest() used in the above commit is the inverse of the logic we need, so we'll have to resort to the internal TestCase::status() method to preserve the original behavior.
- is related to
-
PHPLIB-816 Clean up extra namespaces used in DocumentationExamplesTest
-
- Closed
-
-
PHPLIB-1369 Update test suite to use PHPUnit 10
-
- Closed
-