Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in printFail() in /src/Codeception/Subscriber/Console.php #48

Closed
tiger-seo opened this issue Aug 15, 2012 · 0 comments
Closed

Bug in printFail() in /src/Codeception/Subscriber/Console.php #48

tiger-seo opened this issue Aug 15, 2012 · 0 comments

Comments

@tiger-seo
Copy link
Member

D:\php.exe D:\www\Vendor\Codeception\codecept --debug run api PrimaryFlow_1Cept.php
Codeception PHP Testing Framework v1.1.1
Powered by PHPUnit 3.6.12 by Sebastian Bergmann.

Suite api started
ERROR

Time: 4 seconds, Memory: 6.25Mb

There was 1 error:
Couldn't test registration through api in PrimaryFlow_1Cept.php

Catchable fatal error: Argument 1 passed to Codeception\Subscriber\Console::printException() must be an instance of Exception, string given, called in D:\www\Vendor\Codeception\src\Codeception\Subscriber\Console.php on line 149 and defined in D:\www\Vendor\Codeception\src\Codeception\Subscriber\Console.php on line 187

Call Stack:
0.0004 132632 1. {main}() D:\www\Vendor\Codeception\codecept:0
0.4343 1098800 2. Symfony\Component\Console\Application->run() D:\www\Vendor\Codeception\codecept:40
0.4410 1294616 3. Symfony\Component\Console\Application->doRun() D:\www\Vendor\Codeception\vendor\Symfony\Component\Console\Application.php:105
0.4413 1295256 4. Symfony\Component\Console\Command\Command->run() D:\www\Vendor\Codeception\vendor\Symfony\Component\Console\Application.php:188
0.4419 1297600 5. Codeception\Command\Run->execute() D:\www\Vendor\Codeception\vendor\Symfony\Component\Console\Command\Command.php:227
3.8481 6118736 6. Codeception\Codecept->printResult() D:\www\Vendor\Codeception\src\Codeception\Command\Run.php:66
3.8481 6118832 7. PHPUnit_TextUI_ResultPrinter->printResult() D:\www\Vendor\Codeception\src\Codeception\Codecept.php:111
3.8481 6119184 8. PHPUnit_TextUI_ResultPrinter->printErrors() D:\server\pear\pear\PHPUnit\TextUI\ResultPrinter.php:156
3.8481 6119312 9. PHPUnit_TextUI_ResultPrinter->printDefects() D:\server\pear\pear\PHPUnit\TextUI\ResultPrinter.php:284
3.8482 6119608 10. Codeception\PHPUnit\ResultPrinter\UI->printDefect() D:\server\pear\pear\PHPUnit\TextUI\ResultPrinter.php:226
3.8482 6119944 11. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() D:\www\Vendor\Codeception\src\Codeception\PHPUnit\ResultPrinter\UI.php:20
3.8482 6120104 12. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() D:\www\Vendor\Codeception\vendor\Symfony\Component\EventDispatcher\EventDispatcher.php:53
3.8482 6120304 13. call_user_func() D:\www\Vendor\Codeception\vendor\Symfony\Component\EventDispatcher\EventDispatcher.php:162
3.8482 6120320 14. Codeception\Subscriber\Console->printFail() D:\www\Vendor\Codeception\vendor\Symfony\Component\EventDispatcher\EventDispatcher.php:162
3.8483 6121272 15. Codeception\Subscriber\Console->printException() D:\www\Vendor\Codeception\src\Codeception\Subscriber\Console.php:149

Process finished with exit code 255

Naktibalda added a commit to Naktibalda/Codeception that referenced this issue Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants