You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use AspectMock\Test;
use Codeception\Test\Unit;
use AspectMock\Core\Registry;
abstract class TestCase extends Unit {
protected function _after(): void {
if ( Registry::$mocker ) {
Test::clean();
}
parent::_after();
}
}
The text was updated successfully, but these errors were encountered:
Invalid cache files creating when I run tests. In directory file looks like:
After the test run I get the error message:
[ParseError] syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) or const (T_CONST)
Environment
bootstrap.php
TestCase.php
The text was updated successfully, but these errors were encountered: