Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Jul 2015 at 10:41 UTC
Updated:
3 Dec 2015 at 17:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
borisson_Added a webtest to see test this. This couldn't go in a unit test because
system_rebuild_module_dataneeds a container.Comment #2
wim leersGreat, thanks! :)
I've only got nits.
Verify all modules are listed in the 'replace' section of core's composer.json.s/false/FALSE/
Comment #3
aspilicious commentedWhat happens when you installed a contrib module? Will the test fail?
Comment #4
dawehnerLet's fix the doc
What about just scanning /core/modules ?
Comment #5
borisson_Fixed the issues from #2 and #4.
Now we're just scanning /core/modules, this also addresses @aspilicious' concern about contrib modules.
Comment #6
aspilicious commentedSo we don't need a webtest anymore?
Comment #7
borisson_You're right, I can integrate this in the already existing unit test, let's do that.
Comment #8
borisson_This is now a part of the already existing
ComposerIntegrationTest.Comment #9
borisson_I added some extra comments in the test.
Comment #10
wim leersLooks great.
Comment #11
alexpottMore tests++
Committed 151da1a and pushed to 8.0.x. Thanks!
Comment #13
neclimdulA good reason to re-enable #2105583: Add some sane strictness to phpunit tests to catch risky tests. This test doesn't assert anything. @see patch for why.
Comment #14
mile23Fixed as a duplicate here: #2597644: ComposerIntegrationTest::testAllModulesReplaced() doesn't test anything.