Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
simpletest.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Aug 2015 at 09:33 UTC
Updated:
19 Aug 2016 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersComment #4
dawehnerIs that some logic we can move into a trait and share so?
Comment #5
wim leersGood idea!
(If
BrowserTestBaseextendedTestBasewe could put it there. But since it doesn't, a trait is the only option.)Comment #6
dawehnerAnd the better one ... IMHO you also maybe want to validate config on kernel tests?
Comment #7
jibranCan we include this fix in next reroll https://github.com/jibran/drupal/commit/31dd5cc5a01ed863a36299508f1098d9...?
Comment #8
wim leersI suspect we should still do this, because it'll catch problems that'd otherwise go unnoticed.
Comment #9
wim leers(And adding it after RC would mean breaking contrib projects.)
Comment #10
dawehnerYeah we totally should.
Comment #11
jibranBTB for contrib is kinda a broken #2503547: Contrib can't run Functional tests so I think it is ok after RC as well.
Comment #12
wim leersInteresting, thanks for letting us know!
Comment #13
wim leersAdded beta evaluation explaining impact vs. disruption wrt tag; better justifying #8's added tags.
Comment #14
xjmWe have a tag for that now. :)
Comment #15
alexpottAs a test infrastructure change this is actually "rc eligible"
Comment #16
dawehnerLet's fix it.
Comment #17
alexpottI was going to say that this is a separate issue - but it is not! This is why config schema checking is a good thing(tm)
The one in KernelTestBase test implies we don't have schema checking turned on there - I think we should have - but that is a separate issue.
I guess we should have a use statement instead of a fully qualified class.
Comment #18
dawehnerI'm like 99.5% sure that at least the new kernel test has schema checking turned on by default. For contrib modules I used kernel tests to ensure that schema is actually there.
Let's go with the variant in
\Component, in case we ever will make it possible to use the PECL implementation.Comment #20
dawehner.
Comment #22
dawehner.
Comment #23
dawehnerReapply to 8.2.x
Comment #24
alexpottOh wow I'd forgotten about this. This is now a critical regression because we have many more BrowserTestBase tests. :(
Comment #25
alexpottRerolled
Comment #26
alexpottHere's some tests.
Comment #27
dawehnerI guess this should have its own dedicated issue?
Comment #28
alexpott@dawehner agreed...
Comment #29
alexpottCreate #2779459: KernelTestBase thinks private file setting is in config for the KernelTestBase issue.
Comment #30
dawehnerI think this patch totally solves the problems we have, adds test coverage. What else would one want.
Comment #32
alexpottMinor fix to a comment placement. And removal of unnecessary change.
Comment #33
alexpottHmmm... actually I think I should port \Drupal\config\Tests\SchemaConfigListenerWebTest to BTB.
Comment #34
alexpottSo instead of \Drupal\config\Tests\SchemaConfigListenerWebTest I refactored \Drupal\KernelTests\Core\Config\SchemaConfigListenerTest to use a trait and used that.
Comment #36
dawehnerWorks for me.
Comment #37
jibranLet's use class constant here.
Comment #38
alexpottSure why not
Comment #39
catchCommitted/pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!