Problem/Motivation

simpletest_uninstall() was modified in #3110862: Remove simpletest module from core but cannot be automatically tested because uninstalling Simpletest destroys the entire test environment.

It looks like there is just a missing use statement:

use Drupal\Core\Test\EnvironmentCleaner;

Proposed resolution

Add the use statement and manually test.

Remaining tasks

Patch, test, commit.

User interface changes

Simpletest can be successfully uninstalled.

API changes

None

Data model changes

None

Release notes snippet

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

longwave created an issue. See original summary.

longwave’s picture

Title: simpletest_uninstall does not work » simpletest_uninstall() does not work
Status: Active » Needs review
FileSize
466 bytes
Berdir’s picture

Status: Needs review » Reviewed & tested by the community

Manually tested, which is the only way to trigger this. Without the patch, the update fails, with the patch it completes.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 2eaeb44 and pushed to 9.0.x. Thanks!

  • alexpott committed 2eaeb44 on 9.0.x
    Issue #3114026 by longwave: simpletest_uninstall() does not work
    

Status: Fixed » Closed (fixed)

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