skip test if guesser is not supported
This commit is contained in:
parent
27290714b7
commit
3b77abea65
@ -81,6 +81,10 @@ abstract class AbstractMimeTypeGuesserTest extends TestCase
|
||||
|
||||
public function testGuessWithDuplicatedFileType()
|
||||
{
|
||||
if (!$this->getGuesser()->isGuesserSupported()) {
|
||||
$this->markTestSkipped('Guesser is not supported');
|
||||
}
|
||||
|
||||
$this->assertEquals('application/vnd.openxmlformats-officedocument.wordprocessingml.document', $this->getGuesser()->guessMimeType(__DIR__.'/Fixtures/test.docx'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user