Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit ae653c8

Browse files
committed
Skip test on HHVM
- As there's no way to make that condition fail on that platform.
1 parent b7e3db7 commit ae653c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Response/JsonResponseTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ public function testJsonErrorHandlingOfBadEmbeddedData()
9292
$this->markTestSkipped('Skipped as PHP versions prior to 5.5 are noisy about JSON errors');
9393
}
9494

95+
if (defined('HHVM_VERSION')) {
96+
$this->markTestSkipped('Skipped as HHVM happily serializes embedded resources');
97+
}
98+
9599
// Serializing something that is not serializable.
96100
$data = [
97101
'stream' => fopen('php://memory', 'r'),

0 commit comments

Comments
 (0)