function MigrateControllerTest::setUp
Same name in other branches
- 9 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateControllerTest::setUp()
- 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateControllerTest::setUp()
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateControllerTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateControllerTest.php, line 42
Class
- MigrateControllerTest
- Tests for the MigrateController class.
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Log in as user 1. Migrations in the UI can only be performed as user 1.
$this->drupalLogin($this->rootUser);
// Create a migrate message for testing purposes.
\Drupal::logger('migrate_drupal_ui')->notice('A test message');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.