function ProfileFieldCheckRequirementsTest::setUp

Same name in this branch
  1. 10 core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d7\ProfileFieldCheckRequirementsTest::setUp()
Same name in other branches
  1. 9 core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setUp()
  2. 9 core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d7\ProfileFieldCheckRequirementsTest::setUp()
  3. 8.9.x core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setup()
  4. 8.9.x core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d7\ProfileFieldCheckRequirementsTest::setup()
  5. 11.x core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setUp()
  6. 11.x core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d7\ProfileFieldCheckRequirementsTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php, line 20

Class

ProfileFieldCheckRequirementsTest
Tests check requirements for profile_field source plugin.

Namespace

Drupal\Tests\user\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    $this->sourceDatabase
        ->schema()
        ->dropTable('profile_fields');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.