You are here

public static property PermissionsTest::$modules in Metatag 8

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

metatag_extended_perms/tests/src/Functional/PermissionsTest.php, line 25

Class

PermissionsTest
Verify the new permissions are added.

Namespace

Drupal\Tests\metatag_extended_perms\Functional

Code

public static $modules = [
  // Modules for core functionality.
  'node',
  // Needed for the field UI testing.
  'field_ui',
  // This custom module.
  'metatag_extended_perms',
];