added condition to avoid skipping tests on JSON_PRETTY support
This commit is contained in:
parent
ad8d8727d9
commit
4b9d74d99c
@ -17,8 +17,10 @@ class JsonDescriptorTest extends AbstractDescriptorTest
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
if (version_compare(phpversion(), '5.4.0', '<')) {
|
||||
$this->markTestSkipped('Test skipped on PHP 5.3 as JSON_PRETTY_PRINT does not exist.');
|
||||
}
|
||||
}
|
||||
|
||||
protected function getDescriptor()
|
||||
{
|
||||
|
Reference in New Issue
Block a user