Skip to content

Unit test BlogControllerTest::testNewComment failing #554

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

Closed
wcomnisky opened this issue Apr 30, 2017 · 7 comments
Closed

Unit test BlogControllerTest::testNewComment failing #554

wcomnisky opened this issue Apr 30, 2017 · 7 comments

Comments

@wcomnisky
Copy link
Contributor

Tested against latest changeset on master: 46824f1
PHP 7.1.4-1

$ ./vendor/bin/phpunit 
PHPUnit 4.8.35 by Sebastian Bergmann and contributors.

...............F......................

Time: 10.56 seconds, Memory: 20.00MB

There was 1 failure:

1) Tests\AppBundle\Controller\BlogControllerTest::testNewComment
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-Ubi est audax amicitia Abnobas sunt hilotaes de placidus vita Teres talis saepe tractare de camerarius flavum sensorem Sunt accentores vitare salvus flavum parses Bassus fatalis classiss virtualiter transferre de flavum Ubi est barbatus nix Pellentesque et sapien pulvinar consectetur Urna nisl sollicitudin id varius orci quam id turpis Nulla porta lobortis ligula vel egestas Ut eleifend mauris et risus ultrices egestas
+Bassus fatalis classiss virtualiter transferre de flavum Sunt accentores vitare salvus flavum parses In hac habitasse platea dictumst Teres talis saepe tractare de camerarius flavum sensorem Ut suscipit posuere justo at vulputate Potus sensim ad ferox abnoba Curabitur aliquam euismod dolor non ornare Pellentesque et sapien pulvinar consectetur Nunc viverra elit ac laoreet suscipit

/home/william/dev/github/symfony-demo/tests/AppBundle/Controller/BlogControllerTest.php:94

FAILURES!
Tests: 38, Assertions: 71, Failures: 1.
@dmaicher
Copy link
Contributor

dmaicher commented Apr 30, 2017

For me the tests on master are passing just fine:

PHPUnit 4.8.35 by Sebastian Bergmann and contributors.

......................................

Time: 14.51 seconds, Memory: 26.00MB

OK (38 tests, 71 assertions)

Edit: Also TravisCI looks good to me: https://github.com/symfony/symfony-demo/commits/master

@voronkovich
Copy link
Contributor

@wcomnisky, try to disable DAMADoctrineTestBundle.

@dmaicher
Copy link
Contributor

dmaicher commented May 1, 2017

@voronkovich why would that help?

@wcomnisky
Copy link
Contributor Author

I couldn't retest yet to confirm but I think there's relation with the issue #556

@dmaicher
Copy link
Contributor

dmaicher commented May 8, 2017

@wcomnisky is the test still failing with the latest composer changes on master?

@dmaicher
Copy link
Contributor

I guess this can be closed then?

@wcomnisky
Copy link
Contributor Author

wcomnisky commented Jun 5, 2017

Tests are passing now. Closing..

$ ./vendor/bin/phpunit 
PHPUnit 4.8.35 by Sebastian Bergmann and contributors.

......................................

Time: 11 seconds, Memory: 22.00MB

OK (38 tests, 71 assertions)

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

3 participants