From 653b75c164cf1df7e8906fedb24e640e7ddfb374 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 12 Jan 2023 23:13:10 +0100 Subject: [PATCH] adjust test --- src/tests/unit/Application/Model/MessageTypes/SmsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/unit/Application/Model/MessageTypes/SmsTest.php b/src/tests/unit/Application/Model/MessageTypes/SmsTest.php index 8af950c..3e37128 100644 --- a/src/tests/unit/Application/Model/MessageTypes/SmsTest.php +++ b/src/tests/unit/Application/Model/MessageTypes/SmsTest.php @@ -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)