Naktibalda ยท GitHub

There was 1 failure:
1) LocalCept: Run local code coverage for cest and test
 Test  tests/coverage/LocalCept.php
 Step  See in shell output "Classes: 100.00%"
 Fail  Failed asserting that 'Codeception PHP Testing Framework v5.0.2 https://helpukrainewin.org\n
\n
Math Tests (2) ---------------------------------------------------------\n
โœ” MathTest: All (0.00s)\n
โœ” MathTest: Without covers annotation (0.00s)\n
------------------------------------------------------------------------\n
\n
\n
\n
FATAL ERROR. TESTS NOT FINISHED.\n
Uncaught TypeError: Codeception\Test\TestCaseWrapper::getLinesToBeCovered(): Return value must be of type array, bool returned in ./repos/Codeception/src/Codeception/Test/TestCaseWrapper.php:122\n
Stack trace:\n
#0 ./repos/Codeception/src/Codeception/Test/Feature/CodeCoverage.php(33): Codeception\Test\TestCaseWrapper->getLinesToBeCovered()\n
#1 ./repos/Codeception/src/Codeception/Test/Test.php(220): Codeception\Test\Test->codeCoverageEnd()\n
#2 ./repos/Codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun()\n
#3 ./repos/Codeception/src/Codeception/SuiteManager.php(148): Codeception\Suite->run()\n
#4 ./repos/Codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run()\n
#5 ./repos/Codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite()\n
#6 ./repos/Codeception/src/Codeception/Command/Run.php(437): Codeception\Codecept->run()\n
#7 ./repos/Codeception/vendor/symfony/console/Command/Command.php(308): Codeception\Command\Run->execute()\n
#8 ./repos/Codeception/vendor/symfony/console/Application.php(1002): Symfony\Component\Console\Command\Command->run()\n
#9 ./repos/Codeception/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()\n
#10 ./repos/Codeception/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()\n
#11 ./repos/Codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run()\n
#12 ./repos/Codeception/app.php(45): Codeception\Application->run()\n
#13 ./repos/Codeception/app.php(46): {closure}()\n
#14 ./repos/Codeception/codecept(7): require('...')\n
#15 {main}\n
  thrown\n

Read the original on github.com โ†—