diff --git a/tests/SPT/Domain/Crypt/Services/TemporaryMasterPassTest.php b/tests/SPT/Domain/Crypt/Services/TemporaryMasterPassTest.php index 9b7a9dea..3237a98e 100644 --- a/tests/SPT/Domain/Crypt/Services/TemporaryMasterPassTest.php +++ b/tests/SPT/Domain/Crypt/Services/TemporaryMasterPassTest.php @@ -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);