diff --git a/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php index f1586cc..a7dd70d 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php @@ -2,7 +2,7 @@ /** * @file - * Definition of Drupal\simpletest\DrupalUnitTestBase. + * Contains Drupal\simpletest\DrupalUnitTestBase. */ namespace Drupal\simpletest; @@ -20,6 +20,7 @@ * Additional modules needed in a test may be loaded and added to the fixed * module list. * + * @see DrupalUnitTestBase::$modules * @see DrupalUnitTestBase::enableModules() * * By installing the {system} schema, modules may be fully installed, too. @@ -55,12 +56,13 @@ private $moduleList = array(); /** - * Sets up unit test environment. + * Sets up Drupal unit test environment. * - * Unlike Drupal\simpletest\WebTestBase::setUp(), UnitTestBase::setUp() does not - * install modules because tests are performed without accessing the database. - * Any required files must be explicitly included by the child class setUp() - * method. + * Unlike UnitTestBase::setUp(), any modules specified in the $modules + * property are automatically loaded and set as the fixed module list. + * + * @see DrupalUnitTestBase::$modules + * @see DrupalUnitTestBase */ protected function setUp() { parent::setUp();