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:
09bea8a
)
Fix one test failing with php 5.5 fcgi
author
gggeek
<giunta.gaetano@gmail.com>
Sun, 15 Mar 2015 22:41:15 +0000
(22:41 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sun, 15 Mar 2015 22:41:15 +0000
(22:41 +0000)
tests/LocalhostTest.php
patch
|
blob
|
history
diff --git
a/tests/LocalhostTest.php
b/tests/LocalhostTest.php
index
e35e236
..
f413d40
100644
(file)
--- a/
tests/LocalhostTest.php
+++ b/
tests/LocalhostTest.php
@@
-524,6
+524,10
@@
And turned it into nylon';
if (!in_array($c, array('c2', 'c3', 'c4', 'c5'))) {
unset($rcookies[$c]);
}
+ // Seems like we get this when using php-fpm and php 5.5+ ...
+ if (isset($rcookies[$c]['Max-Age'])) {
+ unset($rcookies[$c]['Max-Age']);
+ }
}
foreach ($cookies as $c => $v) {
// format for date string in cookies: 'Mon, 31 Oct 2005 13:50:56 GMT'