FileUploadResourceTestBase::$testFileData

Same name in other branches
  1. 8.9.x core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php \Drupal\Tests\rest\Functional\FileUploadResourceTestBase::testFileData
  2. 10 core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php \Drupal\Tests\rest\Functional\FileUploadResourceTestBase::testFileData
  3. 11.x core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php \Drupal\Tests\rest\Functional\FileUploadResourceTestBase::testFileData

Test file data.

Type: string

File

core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php, line 46

Class

FileUploadResourceTestBase
Tests binary data file upload route.

Namespace

Drupal\Tests\rest\Functional

Code

protected $testFileData = 'Hares sit on chairs, and mules sit on stools.';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.