function StubEnvironmentCleanerService::cleanResultsTable
Clears test result tables from the results database.
Parameters
$test_id: Test ID to remove results for, or NULL to remove all results.
Return value
int The number of results that were removed.
Overrides EnvironmentCleanerInterface::cleanResultsTable
File
-
core/
modules/ simpletest/ tests/ src/ Kernel/ DeprecatedCleanupTest.php, line 57
Class
- StubEnvironmentCleanerService
- Mock environment_cleaner service that does not perform any cleaning.
Namespace
Drupal\Tests\simpletest\KernelCode
public function cleanResultsTable($test_id = NULL) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.