This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/mime/test.php
2020-10-24 13:46:57 +01:00

9 lines
256 B
PHP

<?php declare(strict_types=1);
class MimeSystemTest extends ShimmiePHPUnitTestCase
{
public function testJPEG()
{
$result = MimeType::get_for_file("tests/bedroom_workshop.jpg");
$this->assertEquals(MimeType::JPEG, $result);
}
}