You are here

protected property UploadTest::$expectedResults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/file/tests/src/Unit/Plugin/migrate/source/d6/UploadTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d6\UploadTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

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

Class

UploadTest
Tests d6_upload source plugin.

Namespace

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

Code

protected $expectedResults = array(
  array(
    'upload' => array(
      array(
        'fid' => '1',
        'description' => 'file 1-1-1',
        'list' => '0',
      ),
    ),
    'nid' => '1',
    'vid' => '1',
    'type' => 'story',
  ),
);