Fix json test, fixes #3326
parent
1e4229e22a
commit
ed54e8346d
|
@ -131,7 +131,7 @@ class JsonFileTest extends \PHPUnit_Framework_TestCase
|
||||||
public function testFormatEmptyArray()
|
public function testFormatEmptyArray()
|
||||||
{
|
{
|
||||||
$data = array('test' => array(), 'test2' => new \stdClass);
|
$data = array('test' => array(), 'test2' => new \stdClass);
|
||||||
if (PHP_VERSION_ID < 50429 || (PHP_VERSION_ID >= 50500 && PHP_VERSION_ID < 50513)) {
|
if (PHP_VERSION_ID < 50428 || (PHP_VERSION_ID >= 50500 && PHP_VERSION_ID < 50512)) {
|
||||||
$json = '{
|
$json = '{
|
||||||
"test": [
|
"test": [
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue