Skip to content

Commit 0ac346a

Browse files
feature #58351 [Mailer] deprecate the TransportFactoryTestCase (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Mailer] deprecate the TransportFactoryTestCase | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | yes | Issues | | License | MIT Commits ------- e878066cac8 deprecate the TransportFactoryTestCase
2 parents 2dd30e6 + 9b0d010 commit 0ac346a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Tests/Transport/SweegoTransportFactoryTest.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\Sweego\Transport\SweegoApiTransport;
1717
use Symfony\Component\Mailer\Bridge\Sweego\Transport\SweegoSmtpTransport;
1818
use Symfony\Component\Mailer\Bridge\Sweego\Transport\SweegoTransportFactory;
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 SweegoTransportFactoryTest extends TransportFactoryTestCase
24+
class SweegoTransportFactoryTest extends AbstractTransportFactoryTestCase
2425
{
26+
use IncompleteDsnTestTrait;
27+
2528
public function getFactory(): TransportFactoryInterface
2629
{
2730
return new SweegoTransportFactory(null, new MockHttpClient(), new NullLogger());

0 commit comments

Comments
 (0)