Skip to content

Commit 7ce935b

Browse files
committed
Update test
1 parent 9123f85 commit 7ce935b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/Messaging/Adapter/Chat/DiscordTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,9 @@ class DiscordTest extends Base
1010
{
1111
public function testSendMessage(): void
1212
{
13-
$id = \getenv('DISCORD_WEBHOOK_ID');
14-
$token = \getenv('DISCORD_WEBHOOK_TOKEN');
13+
$url = \getenv('DISCORD_WEBHOOK_URL');
1514

16-
$sender = new Discord(
17-
webhookId: $id,
18-
webhookToken: $token
19-
);
15+
$sender = new Discord($url);
2016

2117
$content = 'Test Content';
2218

0 commit comments

Comments
 (0)