You are here

public static property FilePrivateTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/file/tests/src/Functional/FilePrivateTest.php \Drupal\Tests\file\Functional\FilePrivateTest::modules
  2. 10 core/modules/file/tests/src/Functional/FilePrivateTest.php \Drupal\Tests\file\Functional\FilePrivateTest::modules

Modules to enable.

Type: array

Overrides FileFieldTestBase::$modules

File

core/modules/file/tests/src/Functional/FilePrivateTest.php, line 21

Class

FilePrivateTest
Uploads a test to a private node and checks access.

Namespace

Drupal\Tests\file\Functional

Code

public static $modules = [
  'node_access_test',
  'field_test',
];