protected function LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 4.0.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.0.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.1.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.2.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.3.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.5.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.6.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.7.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
- 3.8.x tests/src/Functional/Update/LingotekUpgrade8221RemoveContentCloudSettingsTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8221RemoveContentCloudSettingsTest::setUp()
Overrides BrowserTestBase::setUp() for update testing.
The main difference in this method is that rather than performing the installation via the installer, a database is loaded. Additional work is then needed to set various things such as the config directories and the container that would normally be done via the installer.
Overrides UpdatePathTestBase::setUp
File
- tests/
src/ Functional/ Update/ LingotekUpgrade8221RemoveContentCloudSettingsTest.php, line 25
Class
- LingotekUpgrade8221RemoveContentCloudSettingsTest
- Tests the upgrade path for removing Lingotek Content Cloud related preferences.
Namespace
Drupal\Tests\lingotek\Functional\UpdateCode
protected function setUp() : void {
parent::setUp();
$this->lingotekConfiguration = $this->container
->get('lingotek.configuration');
}