fix(helpdesk): inject appTitle/appUrl into HandoverNotificationService to avoid DB calls in tests
This commit is contained in:
@@ -145,7 +145,9 @@ final class HelpdeskContainerRegistrar implements ContainerRegistrar
|
||||
));
|
||||
|
||||
$container->set(HandoverNotificationService::class, static fn (AppContainer $c): HandoverNotificationService => new HandoverNotificationService(
|
||||
$c->get(MailService::class)
|
||||
$c->get(MailService::class),
|
||||
appTitle(),
|
||||
appUrl(),
|
||||
));
|
||||
|
||||
$container->set(HandoverService::class, static fn (AppContainer $c): HandoverService => new HandoverService(
|
||||
|
||||
Reference in New Issue
Block a user