Skip to content

Commit 0b6698e

Browse files
Remove calls to getMockForAbstractClass()
1 parent 85ba4ca commit 0b6698e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Transport/Smtp/SmtpTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function testAssertResponseCodeWithNotValidCode()
158158

159159
private function invokeAssertResponseCode(string $response, array $codes): void
160160
{
161-
$transport = new SmtpTransport($this->getMockForAbstractClass(AbstractStream::class));
161+
$transport = new SmtpTransport($this->createStub(AbstractStream::class));
162162
$m = new \ReflectionMethod($transport, 'assertResponseCode');
163163
$m->setAccessible(true);
164164
$m->invoke($transport, $response, $codes);

0 commit comments

Comments
 (0)