chore(tests): fix

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-03-10 11:12:48 +01:00
parent b3b83c10b4
commit 0461d2eebc

View File

@@ -75,7 +75,7 @@ class TemporaryMasterPassTest extends UnitaryTestCase
$this->mailService
->expects(self::once())
->method('sendBatch')
->method('send')
->with(self::anything(), $emails, self::anything());
$this->temporaryMasterPass->sendByEmailForAllUsers($key);
@@ -127,7 +127,7 @@ class TemporaryMasterPassTest extends UnitaryTestCase
$this->mailService
->expects(self::once())
->method('sendBatch')
->method('send')
->with(self::anything(), $emails, self::anything());
$this->temporaryMasterPass->sendByEmailForGroup($groupId, $key);