adjust test

This commit is contained in:
Daniel Seifert 2023-01-12 23:13:10 +01:00
parent 55bf8b9eab
commit 653b75c164
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170

View File

@ -754,10 +754,10 @@ class SmsTest extends LMUnitTestCase
/** @var RecipientsList|MockObject $recipientListMock */
$recipientListMock = $this->getMockBuilder(RecipientsList::class)
->onlyMethods(['getRecipients'])
->onlyMethods(['getRecipientsList'])
->disableOriginalConstructor()
->getMock();
$recipientListMock->method('getRecipients')->willReturn([$recipientMock]);
$recipientListMock->method('getRecipientsList')->willReturn([$recipientMock]);
/** @var RecipientsList|MockObject $requestRecipientListMock */
$requestRecipientListMock = $this->getMockBuilder(RecipientsList::class)