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 3a3b2c4 + 49f92ce commit 591d06a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Tests/Transport/ResendTransportFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
use Symfony\Component\Mailer\Bridge\Resend\Transport\ResendApiTransport;
use Symfony\Component\Mailer\Bridge\Resend\Transport\ResendSmtpTransport;
use Symfony\Component\Mailer\Bridge\Resend\Transport\ResendTransportFactory;
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 ResendTransportFactoryTest extends TransportFactoryTestCase
class ResendTransportFactoryTest extends AbstractTransportFactoryTestCase
{
use IncompleteDsnTestTrait;

public function getFactory(): TransportFactoryInterface
{
return new ResendTransportFactory(null, new MockHttpClient(), new NullLogger());
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"require": {
"php": ">=8.1",
"symfony/mailer": "^6.4|^7.0"
"symfony/mailer": "^7.2"
},
"require-dev": {
"symfony/http-client": "^6.4|^7.0",
Expand Down

0 comments on commit 591d06a

Please sign in to comment.