Why does DbImportCommandTest install modules?

Created on 17 September 2025, about 1 month ago
Updated 22 September 2025, about 1 month ago

Problem/Motivation

Found while working on #3547124: Remove system module from kernel tests that don't need it

\Drupal\Tests\system\Kernel\Scripts\DbImportCommandTest installs a bunch of modules, but not their schema, then imports a db dump. What's the point installing the modules in the first place?

FWIW the test was added in #2550291: Improve and generalize database dump tools

Steps to reproduce

Proposed resolution

Remove the $modules property

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

system.module

Created by

🇦🇺Australia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024