Permalink
Browse files

Letting TestManager::getExtension accept either test or case as a tes…

…t case type.
  • Loading branch information...
1 parent 696af91 commit a8f289349ea56b986832c40b6624e9d7b64fdf5a @markstory markstory committed Jan 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/lib/test_manager.php
@@ -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;

0 comments on commit a8f2893

Please sign in to comment.