Letting TestManager::getExtension accept either test or case as a test case type.

This commit is contained in:
Mark Story 2010-01-09 21:29:57 -05:00
parent 696af91aa0
commit a8f289349e

View file

@ -404,7 +404,7 @@ class TestManager {
* @access public
*/
function getExtension($type = 'test') {
if ($type == 'test') {
if ($type == 'test' || $type == 'case') {
return $this->_testExtension;
}
return $this->_groupExtension;