function Upgrade7Test::setUp
Overrides MigrateUpgradeExecuteTestBase::setUp
File
-
core/
modules/ contact/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ Upgrade7Test.php, line 41
Class
- Upgrade7Test
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\contact\Functional\migrate_drupal_ui\d7Code
protected function setUp() : void {
parent::setUp();
$this->loadFixture($this->getModulePath('contact') . '/tests/fixtures/drupal7.php');
$this->expectedLoggedErrors = 18;
// If saving the logs, then set the admin user.
if ($this->outputLogs) {
$this->migratedAdminUserName = 'admin';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.