-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Failing tests on Travis #10821
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
Comments
The failing tests are not related to the upgrade to PHPUnit 4 but the fact that Travis is now using the phar instead of a PEAR installation. |
What about installing phpunit with |
hmm, is there a bug in the PHPUnit phar ? |
OK, it is related to sebastianbergmann/phpunit#1193 |
@romainneutron As the bug in PHPUnit is not going to be fixed soon (not trivial), can you submit a PR on 2.3 with your proposed solution? |
I'm on my way to do that, waiting for travis build to submit it |
The bug in PHPUnit has been fixed :) |
This PR was merged into the 2.3 branch. Discussion ---------- [2.3] Fix phpunit test suite on travis #2 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #10821 | License | MIT This is a second approach to solve #10821. Something is weird: `Symfony\Component\Form\Tests\Extension\Core\EventListener\TrimListenerTest` passes when using PHPUnit as phar and fails when using a composer global install Commits ------- 32e5f67 [DependencyInjection] Fix travis unit tests c7befd5 Update PHPUnit before run
Since the upgrade to PHPUnit 4 on Travis, the testsuite is failing for tests involving the session. This should be debugged
The text was updated successfully, but these errors were encountered: