mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°7080 - EVENT_DB_LINKS_CHANGED not fired when deleting a user
This commit is contained in:
@@ -423,8 +423,8 @@ class CRUDEventTest extends ItopDataTestCase
|
||||
// 1 delete for UserRequest, 3 delete for lnkFunctionalCIToTicket
|
||||
$this->assertEquals(4, self::$aEventCalls[EVENT_DB_CHECK_TO_DELETE]);
|
||||
$this->assertEquals(4, self::$aEventCalls[EVENT_DB_AFTER_DELETE]);
|
||||
$this->assertEquals(1, self::$aEventCalls[EVENT_DB_LINKS_CHANGED] ?? 0);
|
||||
$this->assertEquals(9, self::$iEventCalls);
|
||||
$this->assertArrayNotHasKey(EVENT_DB_LINKS_CHANGED, self::$aEventCalls, 'no relation with the with_php_compute attribute !');
|
||||
$this->assertEquals(8, self::$iEventCalls);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user