From e88da8d679acc3824ff231fdc553565b802ac016 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Tue, 29 Aug 2023 10:26:30 +0200 Subject: [PATCH] Fix test --- test/PHPMailer/DSNConfiguratorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/PHPMailer/DSNConfiguratorTest.php b/test/PHPMailer/DSNConfiguratorTest.php index 547331f42..87ffa49ef 100644 --- a/test/PHPMailer/DSNConfiguratorTest.php +++ b/test/PHPMailer/DSNConfiguratorTest.php @@ -34,7 +34,7 @@ public function testInvalidDSN() $configurator = new DSNConfigurator(); $this->expectException(Exception::class); - $this->expectExceptionMessage('Malformed DSN: "localhost".'); + $this->expectExceptionMessage('Malformed DSN'); $configurator->configure($this->Mail, 'localhost'); }