We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab09fd5 commit 6e5a103Copy full SHA for 6e5a103
tests/Http/HttpMimeTypeTest.php
@@ -35,7 +35,9 @@ public function testMimeTypeSymfonyInstance()
35
36
public function testSearchExtensionFromMimeType()
37
{
38
- $this->assertSame('qt', MimeType::search('video/quicktime'));
+ // Regression: check for both "qt" & "mov" because of a behavioral change in Symfony 5.3
39
+ // See: https://github.com/symfony/symfony/pull/41016
40
+ $this->assertContains(MimeType::search('video/quicktime'), ['qt', 'mov']);
41
$this->assertNull(MimeType::search('foo/bar'));
42
}
43
0 commit comments