You are here

protected property UserTest::$expectedResults in Zircon Profile 8

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

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

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

Class

UserTest
Tests D7 user source plugin.

Namespace

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

Code

protected $expectedResults = [
  [
    'uid' => '2',
    'name' => 'Odo',
    'pass' => '$S$DVpvPItXvnsmF3giVEe7Jy2lG.SCoEs8uKwpHsyPvdeNAaNZYxZ8',
    'mail' => 'odo@local.host',
    'signature' => '',
    'signature_format' => 'filtered_html',
    'created' => '1432750741',
    'access' => '0',
    'login' => '0',
    'status' => '1',
    'timezone' => 'America/Chicago',
    'language' => '',
    'picture' => '0',
    'init' => 'odo@local.host',
    'roles' => [
      2,
    ],
    'data' => [
      'contact' => 1,
    ],
    'field_file' => [
      [
        'fid' => 99,
        'display' => 1,
        'description' => 'None',
      ],
    ],
  ],
];