You are here

public function StubEnvironmentCleanerService::cleanResultsTable in Drupal 8

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\Kernel

Code

public function cleanResultsTable($test_id = NULL) {
}