You are here

protected property FieldTest::$expectedResults in Zircon Profile 8.0

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

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/FieldTest.php, line 28
Contains \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldTest.

Class

FieldTest
Tests D7 field source plugin.

Namespace

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

Code

protected $expectedResults = array(
  array(
    'field_name' => 'field_file',
    'type' => 'file',
    'global_settings' => '',
    'storage' => array(
      'type' => 'field_sql_storage',
      'module' => 'field_sql_storage',
    ),
    'module' => 'file',
    'db_columns' => '',
    'locked' => 0,
    'entity_type' => 'node',
  ),
  array(
    'field_name' => 'field_file',
    'type' => 'file',
    'global_settings' => '',
    'storage' => array(
      'type' => 'field_sql_storage',
      'module' => 'field_sql_storage',
    ),
    'module' => 'file',
    'db_columns' => '',
    'locked' => 0,
    'entity_type' => 'user',
  ),
);