You are here

protected property FileTest::$expectedResults in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/modules/file/tests/src/Unit/Plugin/migrate/source/d6/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d6\FileTest::expectedResults
  2. 8.0 core/modules/file/tests/src/Unit/Plugin/migrate/source/d7/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d7\FileTest::expectedResults
Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Unit/Plugin/migrate/source/d7/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d7\FileTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/file/tests/src/Unit/Plugin/migrate/source/d7/FileTest.php, line 40
Contains \Drupal\Tests\file\Unit\Plugin\migrate\source\d7\FileTest.

Class

FileTest
Tests D7 file source plugin.

Namespace

Drupal\Tests\file\Unit\Plugin\migrate\source\d7

Code

protected $expectedResults = [
  [
    'fid' => '1',
    'uid' => '1',
    'filename' => 'cube.jpeg',
    'uri' => 'public://cube.jpeg',
    'filemime' => 'image/jpeg',
    'filesize' => '3620',
    'status' => '1',
    'timestamp' => '1421727515',
  ],
];