Skip to content

Commit 558ee58

Browse files
Merge branch '6.2' into 6.3
* 6.2: [Cache] fix trying to load Memcached before checking we can add missing variable [Notifier] Make `TransportTestCase` data providers static Fix PHPUnit 9.6 deprecations [Notifier] Add missing use statement [Security] fix compat with security-core v6 use proper methods to assert exception messages contain certain strings Fix tests replace usages of the deprecated PHPUnit getMockClass() method [gha] Fix high-deps to run with Symfony 6+ Fix PHPDoc (wrong order)
2 parents e6bd801 + 14d57a4 commit 558ee58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Transport/NativeTransportFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function ini_get(\$key)
4747
public function testCreateWithNotSupportedScheme()
4848
{
4949
$this->expectException(UnsupportedSchemeException::class);
50-
$this->expectErrorMessageMatches('#The ".*" scheme is not supported#');
50+
$this->expectExceptionMessage('The "sendmail" scheme is not supported');
5151

5252
$sut = new NativeTransportFactory();
5353
$sut->create(Dsn::fromString('sendmail://default'));

0 commit comments

Comments
 (0)