X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2F4LocalhostMultiTest.php;h=0be02ef947a2f42d1cf434f738ed415d9319ef3a;hb=22f8a184d5936671e7293ec34cb982a46abaa048;hp=4462349b80685c8d1cb9b5036f11a34295056450;hpb=19d9e6a3f9c89251656c6fb1a1d7478af4656379;p=plcapi.git diff --git a/tests/4LocalhostMultiTest.php b/tests/4LocalhostMultiTest.php index 4462349..0be02ef 100644 --- a/tests/4LocalhostMultiTest.php +++ b/tests/4LocalhostMultiTest.php @@ -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; } }