UserTimeZoneTest::$modules

Same name in other branches
  1. 8.9.x core/modules/user/tests/src/Functional/UserTimeZoneTest.php \Drupal\Tests\user\Functional\UserTimeZoneTest::modules
  2. 10 core/modules/user/tests/src/Functional/UserTimeZoneTest.php \Drupal\Tests\user\Functional\UserTimeZoneTest::modules
  3. 11.x core/modules/user/tests/src/Functional/UserTimeZoneTest.php \Drupal\Tests\user\Functional\UserTimeZoneTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/user/tests/src/Functional/UserTimeZoneTest.php, line 20

Class

UserTimeZoneTest
Set a user time zone and verify that dates are displayed in local time.

Namespace

Drupal\Tests\user\Functional

Code

protected static $modules = [
    'node',
    'system_test',
];

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