Skip to content

Commit

Permalink
Letting TestManager::getExtension accept either test or case as a tes…
Browse files Browse the repository at this point in the history
…t case type.
  • Loading branch information
markstory committed Jan 10, 2010
1 parent 696af91 commit a8f2893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/lib/test_manager.php
Expand Up @@ -404,7 +404,7 @@ function _getTestsPath($type = 'cases') {
* @access public
*/
function getExtension($type = 'test') {
if ($type == 'test') {
if ($type == 'test' || $type == 'case') {
return $this->_testExtension;
}
return $this->_groupExtension;
Expand Down

0 comments on commit a8f2893

Please sign in to comment.