Skip to content

Commit f9245d8

Browse files
Fix tests (bis)
1 parent 89c7cca commit f9245d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/File/MimeType/MimeTypeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public function testGuessFileWithUnknownExtension()
6565

6666
public function testGuessWithDuplicatedFileType()
6767
{
68-
$this->assertSame('application/vnd.openxmlformats-officedocument.wordprocessingml.document', MimeTypeGuesser::getInstance()->guess(__DIR__.'/../Fixtures/test.docx'));
68+
$type = MimeTypeGuesser::getInstance()->guess(__DIR__.'/../Fixtures/test.docx');
69+
$this->assertTrue(\in_array($type, ['application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip'], true));
6970
}
7071

7172
public function testGuessWithIncorrectPath()

0 commit comments

Comments
 (0)