1st attempt at fixing tests
authorgggeek <giunta.gaetano@gmail.com>
Sun, 5 Nov 2017 21:46:37 +0000 (21:46 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sun, 5 Nov 2017 21:46:37 +0000 (21:46 +0000)
tests/4LocalhostMultiTest.php

index 4462349..0be02ef 100644 (file)
@@ -89,7 +89,8 @@ class LocalhostMultiTest extends LocalhostTest
         $this->client->keepalive = true;
 
         // to successfully test keepalive, we have to reuse the same client for all tests, we can not recreate one on setup/teardown...
-        foreach ($this->getSingleHttpTestMethods() as $method) {
+        foreach ($this->getSingleHttpTestMethods() as $methods) {
+            $method = $methods[0];
             $this->$method;
         }
     }