You are here

public function BrowserTestBase::__construct in Drupal 8

1 call to BrowserTestBase::__construct()
UpdatePathTestBase::__construct in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Constructs an UpdatePathTestCase object.
1 method overrides BrowserTestBase::__construct()
UpdatePathTestBase::__construct in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Constructs an UpdatePathTestCase object.

File

core/tests/Drupal/Tests/BrowserTestBase.php, line 217

Class

BrowserTestBase
Provides a test case for functional Drupal tests.

Namespace

Drupal\Tests

Code

public function __construct($name = NULL, array $data = [], $dataName = '') {
  parent::__construct($name, $data, $dataName);
  $this->root = dirname(dirname(substr(__DIR__, 0, -strlen(__NAMESPACE__))));
}