protected function TestTestDatabase::getTestLock in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php \Drupal\Tests\Core\Test\TestTestDatabase::getTestLock()
Generates a unique lock ID for the test method.
Parameters
bool $create_lock: (optional) Whether or not to create a lock file. Defaults to FALSE.
Return value
int The unique lock ID for the test method.
Overrides TestDatabase::getTestLock
File
- core/
tests/ Drupal/ Tests/ Core/ Test/ TestDatabaseTest.php, line 70
Class
- TestTestDatabase
- Stub class supports TestDatabaseTest::testConstructorNullPrefix().
Namespace
Drupal\Tests\Core\TestCode
protected function getTestLock($create_lock = FALSE) {
return 23;
}