Skip to content

Commit

Permalink
deprecate the TransportFactoryTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Sep 23, 2024
1 parent fff091f commit 9b0d010
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Tests/Transport/SweegoTransportFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
use Symfony\Component\Mailer\Bridge\Sweego\Transport\SweegoApiTransport;
use Symfony\Component\Mailer\Bridge\Sweego\Transport\SweegoSmtpTransport;
use Symfony\Component\Mailer\Bridge\Sweego\Transport\SweegoTransportFactory;
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 SweegoTransportFactoryTest extends TransportFactoryTestCase
class SweegoTransportFactoryTest extends AbstractTransportFactoryTestCase
{
use IncompleteDsnTestTrait;

public function getFactory(): TransportFactoryInterface
{
return new SweegoTransportFactory(null, new MockHttpClient(), new NullLogger());
Expand Down

0 comments on commit 9b0d010

Please sign in to comment.