Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Mar 2, 2024
1 parent af56202 commit b029396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Notifier/TelegramNotifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TelegramNotifierTest extends TestCase
{
public function testNotify(): void
{
$mockBotApi = $this->createMock(BotApi::class);
$mockBotApi = $this->getMockBuilder(BotApi::class)->setConstructorArgs(['fake-api-key'])->getMock();
$mockBotApi
->expects($this->once())
->method('sendMessage')
Expand Down

0 comments on commit b029396

Please sign in to comment.