Skip to content

Commit bec6434

Browse files
committed
deprecate the TransportFactoryTestCase
1 parent 4a1bd85 commit bec6434

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Tests/SmsmodeTransportFactoryTest.php

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

1414
use Symfony\Component\Notifier\Bridge\Smsmode\SmsmodeTransportFactory;
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

17-
final class SmsmodeTransportFactoryTest extends TransportFactoryTestCase
19+
final class SmsmodeTransportFactoryTest extends AbstractTransportFactoryTestCase
1820
{
21+
use IncompleteDsnTestTrait;
22+
use MissingRequiredOptionTestTrait;
23+
1924
public function createFactory(): SmsmodeTransportFactory
2025
{
2126
return new SmsmodeTransportFactory();

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require": {
2222
"php": ">=8.2",
2323
"symfony/http-client": "^6.4|^7.0",
24-
"symfony/notifier": "^6.4|^7.0"
24+
"symfony/notifier": "^7.2"
2525
},
2626
"require-dev": {
2727
"symfony/event-dispatcher": "^6.4|^7.0"

0 commit comments

Comments
 (0)