You are here

protected function UserPictureInstanceTest::setUp in Zircon Profile 8

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

Overrides MigrateSqlSourceTestCase::setUp

File

core/modules/user/tests/src/Unit/Migrate/UserPictureInstanceTest.php, line 41
Contains \Drupal\Tests\user\Unit\Migrate\UserPictureInstanceTest.

Class

UserPictureInstanceTest
Tests user_picture_instance source plugin.

Namespace

Drupal\Tests\user\Unit\Migrate

Code

protected function setUp() {
  $this->databaseContents['variable'] = array(
    array(
      'name' => 'file_directory',
      'value' => serialize(NULL),
    ),
    array(
      'name' => 'user_picture_file_size',
      'value' => serialize(128),
    ),
    array(
      'name' => 'user_picture_dimensions',
      'value' => serialize('128x128'),
    ),
  );
  parent::setUp();
}