protected static function TestSuiteBase::getDrupalRoot in Drupal driver for SQL Server and SQL Azure 4.2.x
Same name and namespace in other branches
- 4.0.x dev/travis/TestSuites/TestSuiteBase.php \Drupal\Tests\sqlsrv\TestSuites\TestSuiteBase::getDrupalRoot()
- 4.1.x dev/TestSuites/TestSuiteBase.php \Drupal\Tests\sqlsrv\TestSuites\TestSuiteBase::getDrupalRoot()
Get the path to webroot.
Return value
string Path to webroot.
2 calls to TestSuiteBase::getDrupalRoot()
- CoreExtensionsUnitTestSuite::suite in dev/
TestSuites/ CoreExtensionsUnitTestSuite.php - Factory method which loads up a suite with all kernel tests.
- TestSuiteBase::getCoreExtensionSuite in dev/
TestSuites/ TestSuiteBase.php - Fetch a subset of the Core Extension tests.
File
- dev/
TestSuites/ TestSuiteBase.php, line 166
Class
- TestSuiteBase
- Base class for Drupal test suites.
Namespace
Drupal\Tests\sqlsrv\TestSuitesCode
protected static function getDrupalRoot() {
return dirname(__DIR__, 5);
}