Skip to content

Commit b2e10f8

Browse files
committed
feature #58335 [Notifier] deprecate the TransportFactoryTestCase (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Notifier] deprecate the TransportFactoryTestCase | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | yes | Issues | Fix #54100 | License | MIT Commits ------- c8b0fcc77b deprecate the TransportFactoryTestCase
2 parents 32408a7 + 37aeaaf commit b2e10f8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Tests/GoIpTransportFactoryTest.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@
1212
namespace Symfony\Component\Notifier\Bridge\GoIp\Tests;
1313

1414
use Symfony\Component\Notifier\Bridge\GoIp\GoIpTransportFactory;
15-
use Symfony\Component\Notifier\Test\TransportFactoryTestCase;
15+
use Symfony\Component\Notifier\Test\AbstractTransportFactoryTestCase;
16+
use Symfony\Component\Notifier\Test\IncompleteDsnTestTrait;
17+
use Symfony\Component\Notifier\Test\MissingRequiredOptionTestTrait;
1618

1719
/**
1820
* @author Ahmed Ghanem <[email protected]>
1921
*/
20-
final class GoIpTransportFactoryTest extends TransportFactoryTestCase
22+
final class GoIpTransportFactoryTest extends AbstractTransportFactoryTestCase
2123
{
24+
use IncompleteDsnTestTrait;
25+
use MissingRequiredOptionTestTrait;
26+
2227
public static function createProvider(): iterable
2328
{
2429
yield [

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": ">=8.2",
2020
"symfony/http-client": "^6.4|^7.0",
21-
"symfony/notifier": "^6.4|^7.0"
21+
"symfony/notifier": "^7.2"
2222
},
2323
"autoload": {
2424
"psr-4": {

0 commit comments

Comments
 (0)