function SimpletestTestRunResultsStorage::validateTestingResultsEnvironment
Same name in other branches
- 10 core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php \Drupal\Core\Test\SimpletestTestRunResultsStorage::validateTestingResultsEnvironment()
Overrides TestRunResultsStorageInterface::validateTestingResultsEnvironment
File
-
core/
lib/ Drupal/ Core/ Test/ SimpletestTestRunResultsStorage.php, line 162
Class
- SimpletestTestRunResultsStorage
- Implements a test run results storage compatible with legacy Simpletest.
Namespace
Drupal\Core\TestCode
public function validateTestingResultsEnvironment() : bool {
$schema = $this->connection
->schema();
return $schema->tableExists('simpletest') && $schema->tableExists('simpletest_test_id');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.