minor #40648 [Notifier] [FakeSms] Change DSN to be more realistic (OskarStark)
This PR was merged into the 5.3-dev branch.
Discussion
----------
[Notifier] [FakeSms] Change DSN to be more realistic
| Q | A
| ------------- | ---
| Branch? | 5.x
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Follows https://github.com/symfony/symfony/pull/39949
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
Just a minor tests change
Commits
-------
0b13575df5
[Notifier] [FakeSms] Change DSN to be more realistic
This commit is contained in:
commit
2f20156021
@ -51,7 +51,7 @@ final class FakeSmsTransportFactoryTest extends TransportFactoryTestCase
|
||||
public function supportsProvider(): iterable
|
||||
{
|
||||
yield [true, 'fakesms+email://mailer?to=recipient@email.net&from=sender@email.net'];
|
||||
yield [false, 'somethingElse://api_token@default?from=MyCompany'];
|
||||
yield [false, 'somethingElse://mailer?to=recipient@email.net&from=sender@email.net'];
|
||||
}
|
||||
|
||||
public function incompleteDsnProvider(): iterable
|
||||
@ -62,7 +62,6 @@ final class FakeSmsTransportFactoryTest extends TransportFactoryTestCase
|
||||
|
||||
public function unsupportedSchemeProvider(): iterable
|
||||
{
|
||||
yield ['foobar://api_token@default?from=MyCompany'];
|
||||
yield ['foobar://api_token@default'];
|
||||
yield ['somethingElse://mailer?to=recipient@email.net&from=sender@email.net'];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user