mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Letting TestManager::getExtension accept either test or case as a test case type.
This commit is contained in:
parent
696af91aa0
commit
a8f289349e
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ class TestManager {
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function getExtension($type = 'test') {
|
function getExtension($type = 'test') {
|
||||||
if ($type == 'test') {
|
if ($type == 'test' || $type == 'case') {
|
||||||
return $this->_testExtension;
|
return $this->_testExtension;
|
||||||
}
|
}
|
||||||
return $this->_groupExtension;
|
return $this->_groupExtension;
|
||||||
|
|
Loading…
Add table
Reference in a new issue