diff --git a/Tests/Transport/MailgunTransportFactoryTest.php b/Tests/Transport/MailgunTransportFactoryTest.php index a88f1e1..9f26f46 100644 --- a/Tests/Transport/MailgunTransportFactoryTest.php +++ b/Tests/Transport/MailgunTransportFactoryTest.php @@ -17,12 +17,15 @@ use Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunHttpTransport; use Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunSmtpTransport; use Symfony\Component\Mailer\Bridge\Mailgun\Transport\MailgunTransportFactory; -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 MailgunTransportFactoryTest extends TransportFactoryTestCase +class MailgunTransportFactoryTest extends AbstractTransportFactoryTestCase { + use IncompleteDsnTestTrait; + public function getFactory(): TransportFactoryInterface { return new MailgunTransportFactory(null, new MockHttpClient(), new NullLogger()); diff --git a/composer.json b/composer.json index bdc82be..3a5a475 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": ">=8.2", - "symfony/mailer": "^6.4|^7.0" + "symfony/mailer": "^7.2" }, "require-dev": { "symfony/http-client": "^6.4|^7.0",