function ProfileFieldCheckRequirementsTest::setUp

Same name in this branch
  1. 9 core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setUp()
Same name in other branches
  1. 8.9.x core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setup()
  2. 8.9.x core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d7\ProfileFieldCheckRequirementsTest::setup()
  3. 10 core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setUp()
  4. 10 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 MigrateDrupal7TestBase::setUp

File

core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php, line 18

Class

ProfileFieldCheckRequirementsTest
Tests check requirements for profile_field source plugin.

Namespace

Drupal\Tests\user\Kernel\Migrate\d7

Code

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

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