test(IT): Test account history manager use cases

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-08-21 18:55:34 +02:00
parent b85fbdc5c5
commit d270ec6eb9
144 changed files with 634 additions and 344 deletions

View File

@@ -61,7 +61,7 @@ final class DeleteController extends NotificationSaveBase
$this->eventDispatcher->notify(
'delete.notification.selection',
new Event($this, EventMessage::factory()->addDescription(__u('Notifications deleted')))
new Event($this, EventMessage::build()->addDescription(__u('Notifications deleted')))
);
return $this->returnJsonResponse(JsonMessage::JSON_SUCCESS, __u('Notifications deleted'));
@@ -77,7 +77,7 @@ final class DeleteController extends NotificationSaveBase
'delete.notification',
new Event(
$this,
EventMessage::factory()
EventMessage::build()
->addDescription(__u('Notification deleted'))
->addDetail(__u('Notification'), $id)
)