Skip to content

Simpletest cache tables remain after uninstall #7187

Description

@izmeez

Description of the bug

Both the core simpletest module and the contrib simpletester module were enabled and simpletester used to run some tests. Later both modules were disabled and uninstalled. However, the database still includes many tables beginning with simpletest_cache_.

To prevent this, before disabling the simpletest module, the user must click the Clean Environment button on the Testing configuration page.

Expected behavior

Uninstall should remove all related tables.

Discussion in Zulip suggests that simpletest_uninstall() should remove those tables and it should be properly uninstalled even when it is a dependency of another module.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions