Skip to content

Navigation Menu

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

Appearance settings

Commit 71efc4e

Browse filesBrowse 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 parents 8f3e93a + cde3ab5 commit 71efc4e
Copy full SHA for 71efc4e

File tree

1 file changed

+0
-11
lines changed
Filter options

1 file changed

+0
-11
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/Slack/Tests/SlackTransportFactoryTest.php
-11Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Notifier\Bridge\Slack\Tests;
1313

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

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

43-
public function testCreateWithDeprecatedDsn()
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(new Dsn('slack://default/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX'));
51-
}
52-
5342
public static function supportsProvider(): iterable
5443
{
5544
yield [true, 'slack://xoxb-TestToken@host?channel=testChannel'];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.