mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing typo and implementing -filter in testsuite shell. Fixes #211
This commit is contained in:
parent
bd43866f5b
commit
e9ba86b9e6
1 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,9 @@ class TestSuiteShell extends Shell {
|
|||
if (isset($this->args[3]) && $this->args[3] == 'cov') {
|
||||
$params['codeCoverage'] = true;
|
||||
}
|
||||
if (isset($this->params['filter'])) {
|
||||
$params['filter'] = $this->params['filter'];
|
||||
}
|
||||
return $params;
|
||||
}
|
||||
|
||||
|
@ -109,7 +112,7 @@ class TestSuiteShell extends Shell {
|
|||
if ($result instanceof PHPUnit_Framework_TestResult) {
|
||||
$exit = ($result->errorCount() + $result->failureCount()) > 0;
|
||||
}
|
||||
$this->_stop($exitCode);
|
||||
$this->_stop($exit);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue