You are here

protected static property StatisticsAttachedTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php \Drupal\Tests\statistics\Functional\StatisticsAttachedTest::modules
  2. 10 core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php \Drupal\Tests\statistics\Functional\StatisticsAttachedTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php, line 20

Class

StatisticsAttachedTest
Tests if statistics.js is loaded when content is not printed.

Namespace

Drupal\Tests\statistics\Functional

Code

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