You are here

protected static property PathautoPatternTest::$modules in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Functional/PathautoPatternTest.php \Drupal\Tests\lightning_media\Functional\PathautoPatternTest::modules
  2. 8.2 tests/src/Functional/PathautoPatternTest.php \Drupal\Tests\lightning_media\Functional\PathautoPatternTest::modules

Modules to enable.

The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.

Type: string[]

Overrides BrowserTestBase::$modules

See also

\Drupal\Tests\BrowserTestBase::installDrupal()

File

tests/src/Functional/PathautoPatternTest.php, line 26

Class

PathautoPatternTest
Tests that all media items have a /media/BUNDLE/ID Pathauto pattern.

Namespace

Drupal\Tests\lightning_media\Functional

Code

protected static $modules = [
  'pathauto',
  'lightning_media_document',
  'lightning_media_image',
  'lightning_media_instagram',
  'lightning_media_twitter',
  'lightning_media_video',
  'media_test_source',
];