DatabaseTestBase::$modules

Same name in this branch
  1. 9 core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php \Drupal\Tests\system\Functional\Database\DatabaseTestBase::modules
Same name in other branches
  1. 8.9.x core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php \Drupal\Tests\system\Functional\Database\DatabaseTestBase::modules
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php \Drupal\KernelTests\Core\Database\DatabaseTestBase::modules
  3. 10 core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php \Drupal\Tests\system\Functional\Database\DatabaseTestBase::modules
  4. 10 core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php \Drupal\KernelTests\Core\Database\DatabaseTestBase::modules
  5. 11.x core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php \Drupal\Tests\system\Functional\Database\DatabaseTestBase::modules
  6. 11.x core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php \Drupal\KernelTests\Core\Database\DatabaseTestBase::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php, line 19

Class

DatabaseTestBase
Base class for databases database tests.

Namespace

Drupal\KernelTests\Core\Database

Code

protected static $modules = [
    'database_test',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.