Skip to content

Code coverage failure #531

@verschoof

Description

@verschoof

Command: codecept run api --coverage --html --debug

[ErrorException] unserialize(): Error at offset 0 of 62 bytes

Exception trace: () at /Users/mitchel/bin/vendor/codeception/codeception/src/Codeception/Subscriber/CodeCoverage.php:86 Codeception\Subscriber\ErrorHandler->errorHandler() at n/a:n/a unserialize() at /Users/mitchel/bin/vendor/codeception/codeception/src/Codeception/Subscriber/CodeCoverage.php:86 Codeception\Subscriber\CodeCoverage->afterSuite() at n/a:n/a call_user_func() at /Users/mitchel/bin/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /Users/mitchel/bin/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53 Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /Users/mitchel/bin/vendor/codeception/codeception/src/Codeception/SuiteManager.php:145 Codeception\SuiteManager->run() at /Users/mitchel/bin/vendor/codeception/codeception/src/Codeception/Codecept.php:127 Codeception\Codecept->runSuite() at /Users/mitchel/bin/vendor/codeception/codeception/src/Codeception/Command/Run.php:110 Codeception\Command\Run->runSuites() at /Users/mitchel/bin/vendor/codeception/codeception/src/Codeception/Command/Run.php:78 Codeception\Command\Run->execute() at /Users/mitchel/bin/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:244 Symfony\Component\Console\Command\Command->run() at /Users/mitchel/bin/vendor/symfony/console/Symfony/Component/Console/Application.php:897 Symfony\Component\Console\Application->doRunCommand() at /Users/mitchel/bin/vendor/symfony/console/Symfony/Component/Console/Application.php:191 Symfony\Component\Console\Application->doRun() at /Users/mitchel/bin/vendor/symfony/console/Symfony/Component/Console/Application.php:121 Symfony\Component\Console\Application->run() at /Users/mitchel/bin/vendor/codeception/codeception/codecept:38

What hes trying to unserialize:

string(62) "Array ( [message] => No license key [status] => 500 ) "

Why does afterSuite in CodeCoverage.php trying to run my secure API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions