protected function LinkitUpdateTest::setUp in Linkit 8.5
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/ LinkitUpdateTest.php, line 31
Class
- LinkitUpdateTest
- Tests Linkit upgrade paths.
Namespace
Drupal\Tests\linkit\FunctionalCode
protected function setUp() {
parent::setUp();
$this->configFactory = $this->container
->get('config.factory');
}