Skip MimetypeTest when in HHVM

This commit is contained in:
Henrique Moody 2017-10-16 10:16:01 +02:00
parent 298102ba13
commit 658764a47f
No known key found for this signature in database
GPG key ID: 221E9281655813A6

View file

@ -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');