Skip to content

Commit

Permalink
feature #58351 [Mailer] deprecate the TransportFactoryTestCase (xabbuh)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nicolas-grekas committed Sep 28, 2024
2 parents 2dd30e6 + 9b0d010 commit 0ac346a
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 0ac346a

Please sign in to comment.