diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-10-24 15:12:03 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-10-24 17:21:36 +0300 |
commit | e9b91d5e37e3b685261ec493458119325ae2b654 (patch) | |
tree | 56a756fcb30fc2d70e43f85a6562750f17e0aae6 /tests | |
parent | 0e1a09770aa967999f382580a0561324ea627c47 (diff) |
Skip users without a valid email address
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/BackgroundJobTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/BackgroundJobTest.php b/tests/BackgroundJobTest.php index 5ef70b6..87f0e36 100644 --- a/tests/BackgroundJobTest.php +++ b/tests/BackgroundJobTest.php @@ -387,6 +387,10 @@ class BackgroundJobTest extends TestCase { ->method('setTo') ->willReturnSelf(); + $this->mailer->expects(self::any()) + ->method('validateMailAddress') + ->willReturn(true); + $job = $this->getJob(); $this->userManager->expects(self::once()) ->method('callForSeenUsers') |