Skip to content

Commit d7ae224

Browse files
committed
Cleanup: Skip test in PHP5.3
1 parent f7e1e6d commit d7ae224

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/VCR/Util/StreamProcessorTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ public function testRename()
116116

117117
public function testStreamMetadata()
118118
{
119+
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
120+
$this->markTestSkipped('Behavior is only applicable and testable for PHP 5.4+');
121+
}
122+
119123
$mock = $this->getStreamProcessorMock();
120124
$mock->expects($this->exactly(8))->method('restore');
121125
$mock->expects($this->exactly(8))->method('intercept');

0 commit comments

Comments
 (0)