You are here

public static property StatisticsAttachedTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 9 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

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