adjust test

This commit is contained in:
Daniel Seifert 2023-01-12 23:13:10 +01:00
bovenliggende 55bf8b9eab
commit 653b75c164
Getekend door: DanielS
GPG sleutel-ID: 6A513E13AEE66170

Bestand weergeven

@ -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)