Skip to content

Commit de64532

Browse files
committed
skip this test in 5.6 because of incompatible Mock Objects
1 parent 89b8c7a commit de64532

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/MagentoHackathon/Composer/Magento/ModmanParserTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public function testSetSetModuleDirWithTrailingBackslash()
6161
*/
6262
public function testSetGetFile()
6363
{
64+
if ( PHP_MAJOR_VERSION === 5 && PHP_MINOR_VERSION === 6 ) {
65+
$this->markTestSkipped( 'Mock is Not compatible to PHP 5.6' );
66+
}
6467
$file = $this->getMockBuilder('\\SplFileObject')->setConstructorArgs(array(__FILE__))->getMock();
6568
$this->object->setFile($file);
6669
$this->assertSame($file, $this->object->getFile());

0 commit comments

Comments
 (0)