diff --git a/Tests/Transport/PostmarkTransportFactoryTest.php b/Tests/Transport/PostmarkTransportFactoryTest.php index 33a6b66..6394941 100644 --- a/Tests/Transport/PostmarkTransportFactoryTest.php +++ b/Tests/Transport/PostmarkTransportFactoryTest.php @@ -16,12 +16,15 @@ use Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkApiTransport; use Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkSmtpTransport; use Symfony\Component\Mailer\Bridge\Postmark\Transport\PostmarkTransportFactory; -use Symfony\Component\Mailer\Test\TransportFactoryTestCase; +use Symfony\Component\Mailer\Test\AbstractTransportFactoryTestCase; +use Symfony\Component\Mailer\Test\IncompleteDsnTestTrait; use Symfony\Component\Mailer\Transport\Dsn; use Symfony\Component\Mailer\Transport\TransportFactoryInterface; -class PostmarkTransportFactoryTest extends TransportFactoryTestCase +class PostmarkTransportFactoryTest extends AbstractTransportFactoryTestCase { + use IncompleteDsnTestTrait; + public function getFactory(): TransportFactoryInterface { return new PostmarkTransportFactory(null, new MockHttpClient(), new NullLogger()); diff --git a/composer.json b/composer.json index ee80478..0451fec 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": ">=8.2", "psr/event-dispatcher": "^1", - "symfony/mailer": "^6.4|^7.0" + "symfony/mailer": "^7.2" }, "require-dev": { "symfony/http-client": "^6.4|^7.0",