mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 00:32:16 +02:00
Skip MimetypeTest when in HHVM
This commit is contained in:
parent
298102ba13
commit
658764a47f
|
@ -26,6 +26,10 @@ class MimetypeTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
protected function setUp()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
return $this->markTestSkipped('If you are a HHVM user, and you are in the mood, please fix it');
|
||||
}
|
||||
|
||||
$this->filename = sprintf('%s/validation.txt', sys_get_temp_dir());
|
||||
|
||||
file_put_contents($this->filename, 'File content');
|
||||
|
|
Loading…
Reference in a new issue