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