mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-23 00:36:52 +01:00
test(IT): Test account history manager use cases
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user