protected function LingotekUpgrade9402ClearDownloadInterimPreferenceTest::setUp in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 3.8.x tests/src/Functional/Update/LingotekUpgrade9402ClearDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9402ClearDownloadInterimPreferenceTest::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/ LingotekUpgrade9402ClearDownloadInterimPreferenceTest.php, line 25
Class
- LingotekUpgrade9402ClearDownloadInterimPreferenceTest
- Tests the upgrade path for setting enable_download_interim preference.
Namespace
Drupal\Tests\lingotek\Functional\UpdateCode
protected function setUp() : void {
parent::setUp();
$this->lingotekConfiguration = $this->container
->get('lingotek.configuration');
}