Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestDatabase.php

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::getPhpErrorLogPath in core/lib/Drupal/Core/Test/TestDatabase.php
Gets the file path of the PHP error log of the test.

File

core/lib/Drupal/Core/Test/TestDatabase.php, line 66

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

public function getTestSitePath() : string {
    return 'sites/simpletest/' . $this->lockId;
}
RSS feed
Powered by Drupal