git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d9e6a
)
1st attempt at fixing tests
author
gggeek
<giunta.gaetano@gmail.com>
Sun, 5 Nov 2017 21:46:37 +0000
(21:46 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sun, 5 Nov 2017 21:46:37 +0000
(21:46 +0000)
tests/4LocalhostMultiTest.php
patch
|
blob
|
history
diff --git
a/tests/4LocalhostMultiTest.php
b/tests/4LocalhostMultiTest.php
index
4462349
..
0be02ef
100644
(file)
--- 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;
}
}