Commit 2ee4994e authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

# Fix a problem with not dispatched events during controllers running activities. (*Missed change)

parent f6abf4c3
...@@ -95,8 +95,8 @@ abstract class EcomDev_PHPUnit_Test_Case extends PHPUnit_Framework_TestCase ...@@ -95,8 +95,8 @@ abstract class EcomDev_PHPUnit_Test_Case extends PHPUnit_Framework_TestCase
public static function assertEventNotDispatched($eventName) public static function assertEventNotDispatched($eventName)
{ {
if (is_array($eventName)) { if (is_array($eventName)) {
foreach ($eventNames as $eventName) { foreach ($eventName as $singleEventName) {
self::assertEventNotDispatched($eventName); self::assertEventNotDispatched($singleEventName);
} }
return; return;
} }
......
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