summaryrefslogtreecommitdiff
path: root/tests/Unit/Mail/Transport/LogTransportTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Mail/Transport/LogTransportTest.php')
-rw-r--r--tests/Unit/Mail/Transport/LogTransportTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Mail/Transport/LogTransportTest.php b/tests/Unit/Mail/Transport/LogTransportTest.php
index bd51d30f..6e67f648 100644
--- a/tests/Unit/Mail/Transport/LogTransportTest.php
+++ b/tests/Unit/Mail/Transport/LogTransportTest.php
@@ -44,7 +44,7 @@ class LogTransportTest extends TestCase
/** @var LogTransport|MockObject $transport */
$transport = $this->getMockBuilder(LogTransport::class)
->setConstructorArgs(['logger' => $logger])
- ->setMethods(['allRecipients'])
+ ->onlyMethods(['allRecipients'])
->getMock();
$transport->expects($this->exactly(2))
->method('allRecipients')