From 75acf6aad51ddfdaf053b4f469f583820c40d48b Mon Sep 17 00:00:00 2001 From: netkas Date: Mon, 7 Oct 2024 13:02:34 -0400 Subject: [PATCH] Removed BotTest --- tests/TgBotLib/BotTest.php | 39 -------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 tests/TgBotLib/BotTest.php diff --git a/tests/TgBotLib/BotTest.php b/tests/TgBotLib/BotTest.php deleted file mode 100644 index 76f88f2..0000000 --- a/tests/TgBotLib/BotTest.php +++ /dev/null @@ -1,39 +0,0 @@ -bot = new Bot(BOT_TOKEN); - } - - /** - * Test sendRequest method of Bot class - * for valid method and parameters. - */ - public function getMeTest(): void - { - $result = $this->bot->getMe(); - $this->assertIsArray($result); - } - - /** - * Test sendRequest method of Bot class - * for invalid method. - */ - public function testSendRequestInvalidMethod(): void - { - $method = 'invalidMethod'; - $parameters = []; - - $this->expectException(InvalidArgumentException::class); - - $this->bot->sendRequest($method, $parameters); - } -} \ No newline at end of file