You are here

protected static function TestSuiteBase::getDrupalRoot in Drupal driver for SQL Server and SQL Azure 4.0.x

Same name and namespace in other branches
  1. 4.2.x dev/TestSuites/TestSuiteBase.php \Drupal\Tests\sqlsrv\TestSuites\TestSuiteBase::getDrupalRoot()
  2. 4.1.x dev/TestSuites/TestSuiteBase.php \Drupal\Tests\sqlsrv\TestSuites\TestSuiteBase::getDrupalRoot()

Get the path to webroot.

Return value

string Path to webroot.

File

dev/travis/TestSuites/TestSuiteBase.php, line 159

Class

TestSuiteBase
Base class for Drupal test suites.

Namespace

Drupal\Tests\sqlsrv\TestSuites

Code

protected static function getDrupalRoot() {
  return dirname(__DIR__, 5);
}