Closed (outdated)
Project:
Drupal core
Version:
8.9.x-dev
Component:
phpunit
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Feb 2013 at 00:39 UTC
Updated:
16 Jul 2020 at 23:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirComment #2
alexpottWhilst working on #2164367: Rebuild router as few times as possible per request I noticed we might be able to save some dfac() in the installer and WebTestBase::setUp()
Comment #5
alexpottOkay fixing some of the test fails
Comment #7
alexpottFixing the remaining test failures.
Comment #9
berdir(migrate test fails) Is it possible that we're missing the relevant config schema here and then the casting doesn't work as expected?
Comment #10
alexpottConfigFactory persistence was stopping the new schemas from being used since the definitions where still statically cached in the ConfigFactory.
Comment #12
sunI'm a bit worried:
Why do we need to change all of those tests here? (and even convert them into DUTB?)
Doing so leaves me with the impression that we're working around a deeper root cause instead of fixing it.
Comment #13
sunFor the sake of keeping things as focused as possible, I've created a separate issue for the installer changes only:
#2201785: Remove drupal_flush_all_caches() from installer
Comment #22
quietone commentedTriaging issues in simpletest.module as part of the Bug Smash Initiative to determine if they should be in the Simpletest Project or core.
Moving to phpunit.
Comment #23
alexpottThe tests converted to kernel tests in #10 already have been. WebTestBase doesn't exist anymore. And the config.factory service is not persisted. So I think anything around rebuilding/cache flushing in tests will have to start fresh. Note #3157954: Remove unnecessary route rebuild from tests has just landed.