-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Symfony 7.2, drop support for 5/6
- Loading branch information
1 parent
e9dd462
commit f46fc17
Showing
3 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,24 +12,25 @@ | |
namespace Symfony\Component\Notifier\Bridge\Plivo\Tests; | ||
|
||
use Symfony\Component\Notifier\Bridge\Plivo\PlivoTransportFactory; | ||
use Symfony\Component\Notifier\Test\AbstractTransportFactoryTestCase; | ||
use Symfony\Component\Notifier\Test\TransportFactoryTestCase; | ||
|
||
final class PlivoTransportFactoryTest extends TransportFactoryTestCase | ||
final class PlivoTransportFactoryTest extends AbstractTransportFactoryTestCase | ||
{ | ||
public function createFactory(): PlivoTransportFactory | ||
{ | ||
return new PlivoTransportFactory(); | ||
} | ||
|
||
public function createProvider(): iterable | ||
public static function createProvider(): iterable | ||
{ | ||
yield [ | ||
'plivo://host.test?from=0611223344', | ||
'plivo://authId:[email protected]?from=0611223344', | ||
]; | ||
} | ||
|
||
public function supportsProvider(): iterable | ||
public static function supportsProvider(): iterable | ||
{ | ||
yield [true, 'plivo://authId:authToken@default?from=0611223344']; | ||
yield [false, 'somethingElse://authId:authToken@default?from=0611223344']; | ||
|
@@ -40,7 +41,7 @@ public function missingRequiredOptionProvider(): iterable | |
yield 'missing option: from' => ['plivo://authId:authToken@default']; | ||
} | ||
|
||
public function unsupportedSchemeProvider(): iterable | ||
public static function unsupportedSchemeProvider(): iterable | ||
{ | ||
yield ['somethingElse://authId:authToken@default?from=0611223344']; | ||
yield ['somethingElse://authId:authToken@default']; // missing "from" option | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters