adjust test
This commit is contained in:
parent
55bf8b9eab
commit
653b75c164
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user