Commit b81f9fc5 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

! Add check for abstract test case class, because the tests can be organized...

! Add check for abstract test case class, because the tests can be organized in unified form inside of the module. 
parent ebeccea5
......@@ -111,7 +111,8 @@ class EcomDev_PHPUnit_Test_Suite extends PHPUnit_Framework_TestSuite
if (class_exists($className, true)) {
$reflectionClass = EcomDev_Utils_Reflection::getRelflection($className);
if (!$reflectionClass->isSubclassOf('EcomDev_PHPUnit_Test_Case')) {
if (!$reflectionClass->isSubclassOf('EcomDev_PHPUnit_Test_Case')
|| $reflectionClass->isAbstract()) {
continue;
}
......
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