Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
phpunit
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2015 at 00:48 UTC
Updated:
23 Mar 2015 at 13:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mpdonadioI think I know what is going on. Will try some things.
Comment #2
alexpottWe're setting a request factory which is statically persisted on the request which impacts other unit tests.
Comment #3
alexpottThe fix applied is exactly the same as in Symfony\Component\HttpFoundation\Tests\RequestTest::testFactory()
Comment #4
mpdonadioAssuming this comes back green from TestBot, it is RTBC. I was able to reproduce the problem before the patch, and the tests all pass when I run phpunit from the CLI.
Comment #5
tstoecklerSorry about that. Fix seems legit, thanks.
Comment #6
webchickSuppose there's no way to add tests for running tests? :)
Committed and pushed to 8.0.x. Thanks!
Comment #8
neclimdulthere was an issue to use the phpunit test runner on testbot but I haven't seen it pop up in a while.