From 867d720f150dc5a728a092f8d66d8b1c1a5efc5a Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 6 Nov 2019 12:29:58 +0100 Subject: Tests: Replaced setMethods as it is deprecated --- tests/Unit/Mail/Transport/TransportTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Unit/Mail/Transport/TransportTest.php') diff --git a/tests/Unit/Mail/Transport/TransportTest.php b/tests/Unit/Mail/Transport/TransportTest.php index ac7735bb..8dd78d78 100644 --- a/tests/Unit/Mail/Transport/TransportTest.php +++ b/tests/Unit/Mail/Transport/TransportTest.php @@ -79,7 +79,7 @@ class TransportTest extends TestCase $message = $this->createMock(SimpleMessage::class); /** @var TransportImplementation|MockObject $transport */ $transport = $this->getMockBuilder(TransportImplementation::class) - ->setMethods(['allRecipients']) + ->onlyMethods(['allRecipients']) ->getMock(); $transport->expects($this->once()) ->method('allRecipients') -- cgit v1.3.1