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
Drupal\KernelTests\Core\Database\ConnectionUnitTest is using simpletest logic to skip testing for non-MySql drivers.
Proposed resolution
Use proper PHPUnit markTestSkipped
, and cleanup.
Remaining tasks
Review
User interface changes
none
API changes
none
Data model changes
none
Release notes snippet
none
Comment | File | Size | Author |
---|---|---|---|
#2 | 3065166-2.patch | 11 KB | mondrake |
Comments
Comment #2
mondrakeComment #4
jhedstromThis is some great cleanup!
With the patch (on sqlite):
without the patch:
Comment #6
daffie CreditAttribution: daffie commentedTestbot is green again.
Comment #8
daffie CreditAttribution: daffie commentedTestbot failure unrelated to this patch.
Comment #9
alexpottCommitted and pushed 98daa59973 to 9.0.x and a3e523074f to 8.9.x and 5358f24e31 to 8.8.x. Thanks!
Backported to 8.8.x as this is a test-only fix.