2020-06-14 11:05:55 -05:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
class MimeSystemTest extends ShimmiePHPUnitTestCase
|
|
|
|
{
|
|
|
|
public function testJPEG()
|
|
|
|
{
|
|
|
|
$result = MimeType::get_for_file("tests/bedroom_workshop.jpg");
|
2020-10-24 13:46:49 +01:00
|
|
|
$this->assertEquals(MimeType::JPEG, $result);
|
2020-06-14 11:05:55 -05:00
|
|
|
}
|
|
|
|
}
|