Commit 59c739a1 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge pull request #134 from sourcerer-mike/dev-helperFix

Helper can not be mocked
parents 9b5915f1 718cc51b
......@@ -477,6 +477,8 @@ class EcomDev_PHPUnit_Test_Case_Util
{
if ($type === 'resource_model') {
return self::app()->getConfig()->getResourceModelClassName($classAlias);
} elseif ($type === 'helper') {
return self::app()->getConfig()->getHelperClassName($classAlias);
}
return self::app()->getConfig()->getGroupedClassName($type, $classAlias);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment