function TestSiteApplicationTest::getTestLockFile
Gets the lock file path.
Parameters
string $db_prefix: The prefix of the installed test site.
Return value
string The lock file path.
1 call to TestSiteApplicationTest::getTestLockFile()
- TestSiteApplicationTest::testInstallScript in core/tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php 
- @coversNothing[[api-linebreak]]
File
- 
              core/tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php, line 319 
Class
- TestSiteApplicationTest
- Tests core/scripts/test-site.php.
Namespace
Drupal\Tests\ScriptsCode
protected function getTestLockFile($db_prefix) {
  $lock_id = str_replace('test', '', $db_prefix);
  return FileSystem::getOsTemporaryDirectory() . '/test_' . $lock_id;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
