You are here

protected function LingotekActionsInstalledUpdate8210Test::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/LingotekActionsInstalledUpdate8210Test.php, line 26

Class

LingotekActionsInstalledUpdate8210Test
Tests the upgrade path for installing the lingotek actions if required.

Namespace

Drupal\Tests\lingotek\Functional\Update

Code

protected function setUp() {
  parent::setUp();
  $this->configFactory = $this->container
    ->get('config.factory');
}