mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
Display events in the datamodel page
This commit is contained in:
@@ -228,7 +228,7 @@ class EventTest extends ItopTestCase
|
||||
EventService::FireEvent(new EventData('event2'));
|
||||
$this->assertEquals(4, self::$iEventCalls);
|
||||
|
||||
EventService::UnRegisterEvent('event1');
|
||||
EventService::UnRegisterEventListeners('event1');
|
||||
|
||||
EventService::FireEvent(new EventData('event1'));
|
||||
$this->assertEquals(4, self::$iEventCalls);
|
||||
@@ -282,7 +282,7 @@ class EventTest extends ItopTestCase
|
||||
EventService::FireEvent(new EventData('event2'));
|
||||
$this->assertEquals(4, self::$iEventCalls);
|
||||
|
||||
EventService::UnRegisterCallback($sIdToRemove);
|
||||
EventService::UnRegisterListener($sIdToRemove);
|
||||
|
||||
EventService::FireEvent(new EventData('event1'));
|
||||
$this->assertEquals(6, self::$iEventCalls);
|
||||
|
||||
Reference in New Issue
Block a user