protected function LingotekTargetStatusFormatterUpdate8209Test::setUp in Lingotek Translation 8.2
Overrides WebTestBase::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/ LingotekTargetStatusFormatterUpdate8209Test.php, line 26
Class
- LingotekTargetStatusFormatterUpdate8209Test
- Tests the upgrade path for changing the lingotek_target_status id to lingotek_target_statuses.
Namespace
Drupal\Tests\lingotek\Functional\UpdateCode
protected function setUp() {
parent::setUp();
$this->configFactory = $this->container
->get('config.factory');
}