You are here

protected function UserPictureFileTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Unit/Migrate/d6/UserPictureFileTest.php \Drupal\Tests\user\Unit\Migrate\d6\UserPictureFileTest::setUp()

Overrides MigrateSqlSourceTestCase::setUp

File

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

Class

UserPictureFileTest
Tests the d6_user_picture_file source plugin.

Namespace

Drupal\Tests\user\Unit\Migrate\d6

Code

protected function setUp() {
  $this->databaseContents['users'] = array(
    array(
      'uid' => '2',
      'picture' => 'core/modules/simpletest/files/image-test.jpg',
    ),
    array(
      'uid' => '15',
      'picture' => '',
    ),
  );
  parent::setUp();
}