function ConfigCase::setUp

8.0.x configTest.php ConfigCase::setUp()
7.x configTest.php ConfigCase::setUp()
master configTest.php ConfigCase::setUp()

File

tests/configTest.php, line 11

Namespace

Unish

Class

ConfigCase
Tests for Configuration Management commands for D8+. @group commands

Code

function setUp() {
  if (UNISH_DRUPAL_MAJOR_VERSION < 8) {
    $this->markTestSkipped('Config only available on D8+.');
  }

  if (!$this->getSites()) {
    $this->setUpDrupal(1, TRUE);
  }
}