You are here

public static property InvalidUpdateHookTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php \Drupal\Tests\system\Functional\UpdateSystem\InvalidUpdateHookTest::modules
  2. 10 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

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