You are here

protected function ProfileFieldCheckRequirementsTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/user/tests/src/Kernel/Migrate/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setUp()
  2. 10 core/modules/user/tests/src/Kernel/Migrate/d7/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d7\ProfileFieldCheckRequirementsTest::setUp()
Same name and namespace in other branches
  1. 8 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/d6/ProfileFieldCheckRequirementsTest.php \Drupal\Tests\user\Kernel\Migrate\d6\ProfileFieldCheckRequirementsTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

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

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');
}