Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
BlockTemplateSuggestionsTest
makes no HTTP requests but is a functional test
Proposed resolution
Convert BlockTemplateSuggestionsTest
into a Kernel test
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#22 | 2432647-22.interdiff.txt | 595 bytes | claudiu.cristea |
#22 | 2432647-22.patch | 2.65 KB | claudiu.cristea |
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedapplies on top of #1847280: Simpletest web tests misnamed as "Unit"
Comment #7
Mile23BlockTemplateSuggestionsTest is currently a BrowserTestBase test, converted automatically in #2770921: Feb 21st: Convert chunk of WTB to BTB by just moving classes, changing use statements adding traits
It could probably still be a KTB test.
Comment #8
Mile23Comment #9
neerajsinghWorking on the updated patch.
Comment #10
neerajsinghComment #11
neerajsinghComment #14
yogeshmpawarComment #15
yogeshmpawarconverted back to KTB test.
Comment #18
Mile23Changing parent.
Comment #19
claudiu.cristeaThis patch decreases the locally test run from 5.3 to 1.3 seconds. No interdiff as is not relevant. Fixed IS, title, tags, component.
Comment #21
Krzysztof Domański1. Random test failure in #20.
#3045612: Random test failure in MediaStandardProfileTest::testMediaSources
2. Coding standards so patch still "Needs work".
Comment #22
claudiu.cristeaThanks. Fixed.
Comment #23
LendudeSince this is dependant on ordering, queued for PHP5.5, assuming that passes, this conversion looks good.
Comment #24
catchCommitted a40b387 and pushed to 8.8.x. Thanks!