chore(tests): UT for Notification service

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-03-10 01:15:53 +01:00
parent 5103fabf25
commit db73e69dba
8 changed files with 638 additions and 118 deletions

View File

@@ -29,7 +29,7 @@ use SP\Core\Application;
use SP\Core\Events\Event;
use SP\Domain\Core\Events\EventReceiver;
use SP\Domain\Notification\Models\Notification;
use SP\Domain\Notification\Ports\NotificationServiceInterface;
use SP\Domain\Notification\Ports\NotificationService;
use SP\Providers\EventsTrait;
use SP\Providers\Provider;
@@ -54,7 +54,7 @@ final class NotificationHandler extends Provider implements EventReceiver
public function __construct(
Application $application,
private readonly NotificationServiceInterface $notificationService
private readonly NotificationService $notificationService
) {
parent::__construct($application);
}