fix(helpdesk): inject appTitle/appUrl into HandoverNotificationService to avoid DB calls in tests
This commit is contained in:
@@ -11,7 +11,9 @@ class HandoverNotificationServiceTest extends TestCase
|
||||
private function createNotificationService(?MailService $mailService = null): HandoverNotificationService
|
||||
{
|
||||
return new HandoverNotificationService(
|
||||
$mailService ?? $this->createMock(MailService::class)
|
||||
$mailService ?? $this->createMock(MailService::class),
|
||||
'TestApp',
|
||||
'http://localhost',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user