Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71efc4e

Browse files
committed
minor#49424 [Notifier] remove invalid test (xabbuh)
This PR was merged into the 6.2 branch.Discussion----------[Notifier] remove invalid test| Q | A| ------------- | ---| Branch? | 6.2| Bug fix? | no| New feature? | no| Deprecations? | no| Tickets || License | MIT| Doc PR |Commits-------cde3ab5 remove invalid test
2 parents8f3e93a +cde3ab5 commit71efc4e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

‎src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackTransportFactoryTest.php‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespaceSymfony\Component\Notifier\Bridge\Slack\Tests;
1313

1414
useSymfony\Component\Notifier\Bridge\Slack\SlackTransportFactory;
15-
useSymfony\Component\Notifier\Exception\InvalidArgumentException;
1615
useSymfony\Component\Notifier\Test\TransportFactoryTestCase;
1716

1817
finalclass SlackTransportFactoryTestextends TransportFactoryTestCase
@@ -40,16 +39,6 @@ public static function createProvider(): iterable
4039
];
4140
}
4241

43-
publicfunctiontestCreateWithDeprecatedDsn()
44-
{
45-
$factory =$this->createFactory();
46-
47-
$this->expectException(InvalidArgumentException::class);
48-
$this->expectExceptionMessage('Support for Slack webhook DSN has been dropped since 5.2 (maybe you haven\'t updated the DSN when upgrading from 5.1).');
49-
50-
$factory->create(newDsn('slack://default/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX'));
51-
}
52-
5342
publicstaticfunctionsupportsProvider():iterable
5443
{
5544
yield [true,'slack://xoxb-TestToken@host?channel=testChannel'];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp