function MemoryTestRunResultsStorage::removeResults
File
-
core/
tests/ Drupal/ TestTools/ TestRunner/ MemoryTestRunResultsStorage.php, line 64
Class
- MemoryTestRunResultsStorage
- Implements an in-memory test run results storage.
Namespace
Drupal\TestTools\TestRunnerCode
public function removeResults(TestRun $test_run) : int {
if (!isset($this->testId[$test_run->id()])) {
return 0;
}
unset($this->testId[$test_run->id()]);
return 1;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.