From 5631201880393e6e2e36d6fcf2cabf3c597bc038 Mon Sep 17 00:00:00 2001 From: netkas Date: Mon, 7 Oct 2024 12:56:19 -0400 Subject: [PATCH] Removed GetMeTest --- tests/TgBotLib/Methods/GetMeTest.php | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 tests/TgBotLib/Methods/GetMeTest.php diff --git a/tests/TgBotLib/Methods/GetMeTest.php b/tests/TgBotLib/Methods/GetMeTest.php deleted file mode 100644 index f5cf0ff..0000000 --- a/tests/TgBotLib/Methods/GetMeTest.php +++ /dev/null @@ -1,28 +0,0 @@ -bot = new Bot(BOT_TOKEN); - } - - /** - * This test checks if the `execute` method of the `getMe` class correctly calls `fromArray` method of User class - * and `executeCurl` method of the `getMe` class (itself), with correctly built parameters. - * - * Method `execute` should return User object constructed from the array returned by `executeCurl`. - */ - public function testExecute() - { - $user = getMe::execute($this->bot); - $this->assertInstanceOf(User::class, $user); - } -} \ No newline at end of file