From: gggeek Date: Sun, 5 Nov 2017 21:46:37 +0000 (+0000) Subject: 1st attempt at fixing tests X-Git-Tag: 4.3.0~9 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=22f8a184d5936671e7293ec34cb982a46abaa048 1st attempt at fixing tests --- 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; } }