Skip to content

Commit

Permalink
fixup! feat: mail filters
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Sep 13, 2024
1 parent 61a79c5 commit 3303360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Service/OutOfOfficeServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function testUpdateFromSystemWithEnabledOutOfOffice(?IOutOfOfficeData $da
$allowedRecipientsService->expects(self::once())
->method('get')
->with($mailAccount)
->willReturn([]);
->willReturn(['[email protected]']);
$sieveService->expects(self::once())
->method('updateActiveScript')
->with('user', 1, '# new sieve script');
Expand Down Expand Up @@ -233,7 +233,7 @@ public function testUpdateFromSystemWithDisabledOutOfOffice(?IOutOfOfficeData $d
$allowedRecipientsService->expects(self::once())
->method('get')
->with($mailAccount)
->willReturn([]);
->willReturn(['[email protected]']);
$sieveService->expects(self::once())
->method('updateActiveScript')
->with('user', 1, '# new sieve script');
Expand Down

0 comments on commit 3303360

Please sign in to comment.