You are here

protected static property FileDeletedTest::$filesData in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 modules/entity_share_client/tests/src/Functional/FileDeletedTest.php \Drupal\Tests\entity_share_client\Functional\FileDeletedTest::filesData

An array of data to generate physical files.

Type: array

Overrides FileTest::$filesData

File

modules/entity_share_client/tests/src/Functional/FileDeletedTest.php, line 20

Class

FileDeletedTest
Test class for file field where the physical file had been deleted.

Namespace

Drupal\Tests\entity_share_client\Functional

Code

protected static $filesData = [
  'public_file_deleted' => [
    'filename' => 'test_deleted.txt',
    'filemime' => 'text/plain',
    'uri' => 'public://test_deleted.txt',
    'file_content' => 'Drupal',
  ],
];