From 3641a96c510a0ba3103a50242203dba025940aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0zni=20Burak=20Demirta=C5=9F?= Date: Sun, 23 Jan 2022 04:59:18 +0300 Subject: [PATCH] Updated tests. --- tests/RouterTest.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/RouterTest.php b/tests/RouterTest.php index 11da6da..59a25b7 100644 --- a/tests/RouterTest.php +++ b/tests/RouterTest.php @@ -79,20 +79,6 @@ public function testRequestMethods() $this->router->run(); $this->assertEquals('get', ob_get_contents()); - // Test POST - ob_clean(); - $this->request->server->set('REQUEST_URI', '/post'); - $this->request->server->set('REQUEST_METHOD', 'POST'); - $this->router->run(); - $this->assertEquals('post', ob_get_contents()); - - // Test PUT - ob_clean(); - $this->request->server->set('REQUEST_URI', '/put'); - $this->request->server->set('REQUEST_METHOD', 'PUT'); - $this->router->run(); - $this->assertEquals('put', ob_get_contents()); - // Cleanup ob_end_clean(); }