UpdateSchemaTest::$modules

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

Type: modules

Overrides BrowserTestBase::$modules

File

core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php, line 22

Class

UpdateSchemaTest
Tests that update hooks are properly run.

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

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

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