You are here

class TestSiteInstallTestScript in Quicklink 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Nightwatch/TestSiteInstallTestScript.php \Drupal\TestSite\TestSiteInstallTestScript

Setup file used by TestSiteApplicationTest.

Hierarchy

Expanded class hierarchy of TestSiteInstallTestScript

See also

\Drupal\Tests\Scripts\TestSiteApplicationTest

File

tests/src/Nightwatch/TestSiteInstallTestScript.php, line 10

Namespace

Drupal\TestSite
View source
class TestSiteInstallTestScript implements TestSetupInterface {

  /**
   * {@inheritdoc}
   */
  public function setup() {
    \Drupal::service('module_installer')
      ->install([
      'quicklink',
    ]);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TestSiteInstallTestScript::setup public function Run the code to setup the test environment. Overrides TestSetupInterface::setup