From 22f8a184d5936671e7293ec34cb982a46abaa048 Mon Sep 17 00:00:00 2001 From: gggeek Date: Sun, 5 Nov 2017 21:46:37 +0000 Subject: [PATCH] 1st attempt at fixing tests --- tests/4LocalhostMultiTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.43.0