Objective
-
rebuildContainer()only exists to synchronize the container of a child site with the parent site/test runner. -
It is meaningless and wrong to call
rebuildContainer()in a test that does not extend fromWebTestBase.
Proposed solution
-
Move
TestBase::rebuildContainer()intoWebTestBase::rebuildContainer().
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff.txt | 1.94 KB | sun |
| #3 | test.rebuildcontainer.3.patch | 7.47 KB | sun |
| #1 | test.rebuildcontainer.1.patch | 5.54 KB | sun |
Comments
Comment #1
sunComment #3
sunThat's exactly the 2 test failures that I expected :-)
Comment #4
sunComment #5
sunComment #6
sunThis is an architectural bug, as is the sister issue #2253067: settingsSet() is not limited to KernelTestBase
Comment #7
ParisLiakos commentedmakes complete sense to me
Comment #8
catchCommitted/pushed to 8.x, thanks!