You are here

protected function UpdatePathTest::setUp in Workbench Access 8

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/UpdatePathTest.php, line 29

Class

UpdatePathTest
Defines a class for testing the update path to scheme based access.

Namespace

Drupal\Tests\workbench_access\Functional

Code

protected function setUp() {
  parent::setUp();
  if (!$this
    ->isDrupal8()) {
    $this
      ->markTestSkipped('The upgrade test is not supported in Drupal 9.');
  }
}