In #1299424: Allow one module per directory and move system tests to core/modules/system, core/modules/simpletest/tests/database_test.test was moved to core/modules/system/tests/modules/database_test/database_test.test, but system.info suggests that it should have been moved to core/modules/system/tests/database_test.test instead.

For this reason, the database tests do not show up admin/config/development/testing.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crell’s picture

Berdir’s picture

Status: Needs work » Needs review
FileSize
749 bytes

Yes, we can.

This should let the database tests re-appear. Nice catch.

Berdir’s picture

Hah, and suddenly we have 1300 test assertions more :p

sun’s picture

Status: Needs review » Reviewed & tested by the community

Thanks!

Berdir’s picture

Make sure to apply the patch like this to to include the renamed file:

git apply --index move-and-rename-database-tests-1558268-2.patch
sun’s picture

Or when using the recommended .gitconfig just simply:

git a move-and-rename-database-tests-1558268-2.patch
webchick’s picture

Status: Reviewed & tested by the community » Fixed

This seems like it falls under "just plain busted" so I think it's on the plate of things I can touch. :)

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.