You are here

protected property FileTest::$expectedResults in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/file/tests/src/Unit/Plugin/migrate/source/d6/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d6\FileTest::expectedResults
  2. 8 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.0 core/modules/file/tests/src/Unit/Plugin/migrate/source/d6/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d6\FileTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

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

Class

FileTest
Tests D6 file source plugin.

Namespace

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

Code

protected $expectedResults = array(
  array(
    'fid' => 1,
    'uid' => 1,
    'filename' => 'migrate-test-file-1.pdf',
    'filepath' => 'sites/default/files/migrate-test-file-1.pdf',
    'filemime' => 'application/pdf',
    'filesize' => 890404,
    'status' => 1,
    'timestamp' => 1382255613,
  ),
  array(
    'fid' => 2,
    'uid' => 1,
    'filename' => 'migrate-test-file-2.pdf',
    'filepath' => 'sites/default/files/migrate-test-file-2.pdf',
    'filemime' => 'application/pdf',
    'filesize' => 204124,
    'status' => 1,
    'timestamp' => 1382255662,
  ),
);