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:
49313fe
)
fix tests
author
gggeek
<giunta.gaetano@gmail.com>
Wed, 18 Jan 2023 07:55:27 +0000
(07:55 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Wed, 18 Jan 2023 07:55:27 +0000
(07:55 +0000)
tests/6HTTPTest.php
patch
|
blob
|
history
diff --git
a/tests/6HTTPTest.php
b/tests/6HTTPTest.php
index
cef0965
..
22358f4
100644
(file)
--- a/
tests/6HTTPTest.php
+++ b/
tests/6HTTPTest.php
@@
-100,6
+100,11
@@
class HTTPTest extends ServerTest
public function testAcceptCharset()
{
+ if (version_compare(PHP_VERSION, '5.6.0', '<'))
+ {
+ $this->markTestSkipped('cannot test accept-charset on php < 5.6');
+ return;
+ }
if (!function_exists('mb_list_encodings'))
{
$this->markTestSkipped('mbstring missing: cannot test accept-charset');