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.
By Berdir on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
DrupalUnitTestBase is a test base class that provides a working in-memory Drupal environment/Kernel. It is not a unit test and is different than the PHPUnit base test class \Drupal\Tests\UnitTestCase
(and the deprecated UnitTestBase).
To better explain its purpose, \Drupal\simpletest\DrupalUnitTestBase
was renamed to Drupal\simpletest\KernelTestBase
.
\Drupal\simpletest\DrupalUnitTestBase
was finally removed in this issue: https://www.drupal.org/node/2388043
Impacts:
Module developers