Skip to content

Instantly share code, notes, and snippets.

@ezimuel
Created February 4, 2013 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezimuel/4707734 to your computer and use it in GitHub Desktop.
Save ezimuel/4707734 to your computer and use it in GitHub Desktop.
Strange error, PHPUnit is 3.7.13 but the error says PHPUnit 3.5.14
enrico@enrico-desktop:~/Lavoro/Git/zf2/tests$ phpunit Zend\Mvc
PHPUnit 3.7.13 by Sebastian Bergmann.
Cannot open file "ZendMvc.php".
enrico@enrico-desktop:~/Lavoro/Git/zf2/tests$ phpunit ZendTest/Mvc
PHPUNIT: 3.7.13
PHPUnit 3.7.13 by Sebastian Bergmann.
Configuration read from /home/enrico/Lavoro/Git/zf2/tests/phpunit.xml.dist
............................................................... 63 / 631 ( 9%)
............................................................... 126 / 631 ( 19%)
............................................................... 189 / 631 ( 29%)
....E.......................................................... 252 / 631 ( 39%)
............................................................... 315 / 631 ( 49%)
............................................................... 378 / 631 ( 59%)
............................................................... 441 / 631 ( 69%)
............................................................... 504 / 631 ( 79%)
............................................................... 567 / 631 ( 89%)
............................................................... 630 / 631 ( 99%)
.
Time: 1 second, Memory: 67.25Mb
There was 1 error:
1) ZendTest\Mvc\ResponseSender\AbstractResponseSenderTest::testSendHeadersTwoTimesSendsOnlyOnce
PHPUnit_Framework_Exception: PHPUNIT: 3.5.14
This version of PHPUnit (3.5.14) is not supported in Zend Framework 2.x unit tests.
Caused by
ErrorException: unserialize(): Error at offset 0 of 100 bytes
FAILURES!
Tests: 631, Assertions: 1343, Errors: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment