You are here

protected static property InvalidUpdateHookTest::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php \Drupal\Tests\system\Functional\UpdateSystem\InvalidUpdateHookTest::modules
  2. 9 core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php \Drupal\Tests\system\Functional\UpdateSystem\InvalidUpdateHookTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php, line 23

Class

InvalidUpdateHookTest
Tests that a module implementing hook_update_8000() causes an error to be displayed on update.

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

protected static $modules = [
  'update_test_invalid_hook',
  'update_script_test',
  'dblog',
];