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

Commit

Permalink
Skip test on HHVM
Browse files Browse the repository at this point in the history
- As there's no way to make that condition fail on that platform.
  • Loading branch information
weierophinney committed Jun 24, 2015
1 parent b7e3db7 commit ae653c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Response/JsonResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ public function testJsonErrorHandlingOfBadEmbeddedData()
$this->markTestSkipped('Skipped as PHP versions prior to 5.5 are noisy about JSON errors');
}

if (defined('HHVM_VERSION')) {
$this->markTestSkipped('Skipped as HHVM happily serializes embedded resources');
}

// Serializing something that is not serializable.
$data = [
'stream' => fopen('php://memory', 'r'),
Expand Down

0 comments on commit ae653c8

Please sign in to comment.