Skip to content

Commit bbdb9f6

Browse files
OskarStarkfabpot
authored andcommitted
[Notifier] Change Dsn api
1 parent f641553 commit bbdb9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SlackTransportFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testCreateWithDeprecatedDsn()
5252
$this->expectException(InvalidArgumentException::class);
5353
$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).');
5454

55-
$factory->create(Dsn::fromString('slack://default/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX'));
55+
$factory->create(new Dsn('slack://default/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX'));
5656
}
5757

5858
public function supportsProvider(): iterable

0 commit comments

Comments
 (0)