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/Migrate/d6/UserTest.php \Drupal\Tests\user\Unit\Migrate\d6\UserTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/user/tests/src/Unit/Migrate/d6/UserTest.php, line 28
Contains \Drupal\Tests\user\Unit\Migrate\d6\UserTest.

Class

UserTest
Tests D6 user source plugin.

Namespace

Drupal\Tests\user\Unit\Migrate\d6

Code

protected $expectedResults = array(
  array(
    'uid' => 2,
    'name' => 'admin',
    // @todo d6 hash?
    'pass' => '1234',
    'mail' => 'admin@example.com',
    'theme' => '',
    'signature' => '',
    'signature_format' => 0,
    'created' => 1279402616,
    'access' => 1322981278,
    'login' => 1322699994,
    'status' => 0,
    'timezone' => 'America/Lima',
    'language' => 'en',
    // @todo Add the file when needed.
    'picture' => 'sites/default/files/pictures/picture-1.jpg',
    'init' => 'admin@example.com',
    'data' => NULL,
  ),
  array(
    'uid' => 4,
    'name' => 'alice',
    // @todo d6 hash?
    'pass' => '1234',
    'mail' => 'alice@example.com',
    'theme' => '',
    'signature' => '',
    'signature_format' => 0,
    'created' => 1322981368,
    'access' => 1322982419,
    'login' => 132298140,
    'status' => 0,
    'timezone' => 'America/Lima',
    'language' => 'en',
    'picture' => '',
    'init' => 'alice@example.com',
    'data' => NULL,
  ),
);