mirror of https://github.com/nextcloud/calendar
fix: modified unit test to include arguments
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
This commit is contained in:
parent
4f3ed4a1a0
commit
c8626fb8c3
|
@ -616,7 +616,6 @@ class MailServiceTest extends TestCase {
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
$this->userManager->expects(self::once())
|
$this->userManager->expects(self::once())
|
||||||
->method('get')
|
->method('get')
|
||||||
->willReturn($this->createConfiguredMock(IUser::class, [
|
->willReturn($this->createConfiguredMock(IUser::class, [
|
||||||
|
@ -663,6 +662,7 @@ class MailServiceTest extends TestCase {
|
||||||
->method('get');
|
->method('get');
|
||||||
$this->dateFormatter->expects(self::once())
|
$this->dateFormatter->expects(self::once())
|
||||||
->method('formatDateTimeRelativeDay')
|
->method('formatDateTimeRelativeDay')
|
||||||
|
->with(self::anything(), self::anything(), self::anything(), 'Europe/Berlin')
|
||||||
->willReturn('Test');
|
->willReturn('Test');
|
||||||
$this->mailer->expects(self::once())
|
$this->mailer->expects(self::once())
|
||||||
->method('send')
|
->method('send')
|
||||||
|
|
Loading…
Reference in New Issue