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

tests broken? #10

Closed
dan-da opened this issue May 29, 2019 · 1 comment
Closed

tests broken? #10

dan-da opened this issue May 29, 2019 · 1 comment

Comments

@dan-da
Copy link

dan-da commented May 29, 2019

fresh install, then...

$ phpunit 
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

................................................................. 65 / 94 ( 69%)
.............................                                     94 / 94 (100%)

Time: 90 ms, Memory: 6.00MB

PHP Fatal error:  Uncaught Error: Call to undefined method PHPUnit_Framework_TestResult::warningCount() in /usr/share/php/PHPUnit/TextUI/ResultPrinter.php:185
Stack trace:
#0 /home/websites/JsonRPC/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(446): PHPUnit_TextUI_ResultPrinter->printResult(Object(PHPUnit_Framework_TestResult))
#1 /usr/share/php/PHPUnit/TextUI/Command.php(155): PHPUnit_TextUI_TestRunner->doRun(NULL, Array)
#2 /usr/share/php/PHPUnit/TextUI/Command.php(106): PHPUnit_TextUI_Command->run(Array, true)
#3 /usr/bin/phpunit(29): PHPUnit_TextUI_Command::main()
#4 {main}
  thrown in /usr/share/php/PHPUnit/TextUI/ResultPrinter.php on line 185

Using phpunit installed via 'apt install phpunit' on ubuntu 16.04.1 LTS. maybe an old-ish version, but nice to be supported...

related: I don't see any doc or mention of how to run the tests in the README.

@dan-da
Copy link
Author

dan-da commented May 29, 2019

ok, after a bit of googling on that error, I found and ran vendor/bin/phpunit. And all the tests pass.

Please add to doc, or maybe I will submit a pull request.

matasarei pushed a commit that referenced this issue Jun 8, 2024
…to-kba-team

switch composer namespace to kba team
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