Skip to content

Commit 6a8f490

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [Serializer] Improve exception message in UnwrappingDenormalizer [PropertyInfo] Update DoctrineExtractor for new DBAL 4 BIGINT type Update security.nl.xlf [Validator] IBAN Check digits should always between 2 and 98 [Security] Populate translations for trans-unit 20 add missing plural translation messages filter out empty HTTP header parts [String] Fix folded in compat mode Remove calls to `getMockForAbstractClass()` [ErrorHandler] Do not call xdebug_get_function_stack() with xdebug >= 3.0 when not in develop mode [Serializer] Fix type for missing property add test for JSON response with null as content [Filesystem] Fix dumpFile `stat failed` error hitting custom handler Return false in isTtySupported() when open_basedir restrictions prevent access to /dev/tty. Remove calls to `TestCase::iniSet()` and calls to deprecated methods of `MockBuilder` [PhpUnitBridge] Fix `DeprecationErrorHandler` with PhpUnit 10
2 parents d891fb2 + 06c966f commit 6a8f490

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
@@ -194,7 +194,7 @@ public function testAssertResponseCodeWithNotValidCode()
194194

195195
private function invokeAssertResponseCode(string $response, array $codes): void
196196
{
197-
$transport = new SmtpTransport($this->getMockForAbstractClass(AbstractStream::class));
197+
$transport = new SmtpTransport($this->createStub(AbstractStream::class));
198198
$m = new \ReflectionMethod($transport, 'assertResponseCode');
199199
$m->invoke($transport, $response, $codes);
200200
}

0 commit comments

Comments
 (0)