Skip to content

Commit c6ffbc2

Browse files
committed
deprecate the TransportFactoryTestCase
1 parent 844ced5 commit c6ffbc2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Tests/Transport/ScalewayTransportFactoryTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@
1616
use Symfony\Component\Mailer\Bridge\Scaleway\Transport\ScalewayApiTransport;
1717
use Symfony\Component\Mailer\Bridge\Scaleway\Transport\ScalewaySmtpTransport;
1818
use Symfony\Component\Mailer\Bridge\Scaleway\Transport\ScalewayTransportFactory;
19-
use Symfony\Component\Mailer\Test\TransportFactoryTestCase;
19+
use Symfony\Component\Mailer\Test\AbstractTransportFactoryTestCase;
20+
use Symfony\Component\Mailer\Test\IncompleteDsnTestTrait;
2021
use Symfony\Component\Mailer\Transport\Dsn;
2122
use Symfony\Component\Mailer\Transport\TransportFactoryInterface;
2223

23-
class ScalewayTransportFactoryTest extends TransportFactoryTestCase
24+
class ScalewayTransportFactoryTest extends AbstractTransportFactoryTestCase
2425
{
26+
use IncompleteDsnTestTrait;
27+
2528
public function getFactory(): TransportFactoryInterface
2629
{
2730
return new ScalewayTransportFactory(null, new MockHttpClient(), new NullLogger());

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=8.1",
20-
"symfony/mailer": "^6.4|^7.0"
20+
"symfony/mailer": "^7.2"
2121
},
2222
"require-dev": {
2323
"symfony/http-client": "^6.4|^7.0"

0 commit comments

Comments
 (0)