fix: modified unit test to include arguments

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
This commit is contained in:
SebastianKrupinski 2024-04-25 10:51:19 -04:00
parent 4f3ed4a1a0
commit c8626fb8c3
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,6 @@ class MailServiceTest extends TestCase {
]
);
$this->userManager->expects(self::once())
->method('get')
->willReturn($this->createConfiguredMock(IUser::class, [
@ -663,6 +662,7 @@ class MailServiceTest extends TestCase {
->method('get');
$this->dateFormatter->expects(self::once())
->method('formatDateTimeRelativeDay')
->with(self::anything(), self::anything(), self::anything(), 'Europe/Berlin')
->willReturn('Test');
$this->mailer->expects(self::once())
->method('send')