Skip to content

Crash on errors summary PHPUnit_Framework_TestFailure::failedTest() #1248

Description

@Agrumas

Codeception crashes before printing error summary due PHPUnit changes sebastianbergmann/phpunit#1351.

Time: 718 ms, Memory: 8.50Mb
There were 3 errors:
---------
FATAL ERROR. TESTS NOT FINISHED.
Call to undefined method PHPUnit_Framework_TestFailure::failedTest()
in vendor\codeception\codeception\src\Codeception\PHPUnit\ResultPrinter\UI.php:28
<pre>PHP Fatal Error &#039;yii\base\ErrorException&#039; with message &#039;Call to undefined method PHPUnit_Framework_TestFailure::failedTest()&#039;

in vendor\codeception\codeception\src\Codeception\PHPUnit\ResultPrinter\UI.php:28

Stack trace:
#0 [internal function]: yii\base\ErrorHandler-&gt;handleFatalError()
#1 {main}</pre>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions