Codeception / module-yii2

Codeception module for Yii2 framework
MIT License
16 stars 36 forks source link

Fix last commit error #73

Closed sunnyphp closed 2 years ago

sunnyphp commented 2 years ago

Fix last commit error:

Exception 'Error' with message 'Call to a member function getAndClearLog() on null' in /srv/www/app/vendor/codeception/module-yii2/src/Codeception/Module/Yii2.php:400

Stack trace:
#0 /srv/www/app/vendor/codeception/codeception/src/Codeception/Subscriber/Module.php(90): Codeception\Module\Yii2->_failed(Object(Codeception\Test\TestCaseWrapper), Object(PHPUnit\Framework\ExpectationFailedException))
#1 /srv/www/app/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Codeception\Subscriber\Module->failed(Object(Codeception\Event\FailEvent), 'test.fail', Object(Symfony\Component\EventDispatcher\EventDispatcher))
...
samdark commented 2 years ago

Thanks.