From 5d7c68d21dc8796916023a60bbcf8c47b4e7b589 Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Sat, 2 Mar 2024 09:55:50 +0100 Subject: [PATCH] Rename --- tests/Notifier/TelegramNotifierTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Notifier/TelegramNotifierTest.php b/tests/Notifier/TelegramNotifierTest.php index 58fc7dd..73cbfcd 100644 --- a/tests/Notifier/TelegramNotifierTest.php +++ b/tests/Notifier/TelegramNotifierTest.php @@ -12,7 +12,7 @@ class TelegramNotifierTest extends TestCase { public function testNotify(): void { - $mockBotApi = $this->getMockBuilder(BotApi::class)->setConstructorArgs(['fake-api-key'])->getMock(); + $mockBotApi = $this->getMockBuilder(BotApi::class)->setConstructorArgs(['fake-token'])->getMock(); $mockBotApi ->expects($this->once()) ->method('sendMessage')