function TestDatabase::getTestSitePath
Gets the relative path to the test site directory.
Return value
string The relative path to the test site directory.
1 call to TestDatabase::getTestSitePath()
- TestDatabase::logRead in core/
lib/ Drupal/ Core/ Test/ TestDatabase.php - Reads the error log and reports any errors as assertion failures.
File
-
core/
lib/ Drupal/ Core/ Test/ TestDatabase.php, line 99
Class
- TestDatabase
- Provides helper methods for interacting with the fixture database.
Namespace
Drupal\Core\TestCode
public function getTestSitePath() {
return 'sites/simpletest/' . $this->lockId;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.