protected function ProfileFieldTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/tests/src/Unit/Migrate/ProfileFieldTest.php \Drupal\Tests\user\Unit\Migrate\ProfileFieldTest::setUp()
Prepopulate contents with results.
Overrides MigrateSqlSourceTestCase::setUp
File
- core/
modules/ user/ tests/ src/ Unit/ Migrate/ ProfileFieldTest.php, line 79 - Contains \Drupal\Tests\user\Unit\Migrate\ProfileFieldTest.
Class
- ProfileFieldTest
- Tests profile_field source plugin.
Namespace
Drupal\Tests\user\Unit\MigrateCode
protected function setUp() {
$this->databaseContents['profile_fields'] = $this->expectedResults;
foreach ($this->databaseContents['profile_fields'] as &$row) {
$row['options'] = serialize([]);
}
parent::setUp();
}