Fix an error in HTTPDispatcherTest because $_SERVER['REQUEST_METHOD'] is not set.

Robert Sesek [2010-11-29 02:09]
Fix an error in HTTPDispatcherTest because $_SERVER['REQUEST_METHOD'] is not set.
diff --git a/testing/tests/tasks/http_dispatcher_test.php b/testing/tests/tasks/http_dispatcher_test.php
index adbebe0..81fe99f 100644
--- a/testing/tests/tasks/http_dispatcher_test.php
+++ b/testing/tests/tasks/http_dispatcher_test.php
@@ -45,6 +45,7 @@ class HTTPDispatcherTest extends \PHPUnit_Framework_TestCase
     public function setUp()
     {
         $this->dispatcher = new TestHTTPDispatcher('ename');
+        $_SERVER['REQUEST_METHOD'] = 'GET';
     }

     public function testCtor()