diff --git a/tests/Framework/MimeTest.php b/tests/Framework/MimeTest.php index b4fd35d6c..1cf3c6371 100644 --- a/tests/Framework/MimeTest.php +++ b/tests/Framework/MimeTest.php @@ -406,7 +406,7 @@ class MimeTest extends TestCase $this->assertSame('application/pdf', \rcube_mime::file_content_type($file, '', 'application/octet-stream', false, true)); // Test jpg file - $file = INSTALL_PATH . 'program/resources/blank.jpg'; + $file = TESTS_DIR . 'src/logo.jpg'; $content = file_get_contents($file); $this->assertSame('image/jpeg', \rcube_mime::file_content_type($content, '', 'application/octet-stream', true, true)); $this->assertSame('image/jpeg', \rcube_mime::file_content_type($file, '', 'application/octet-stream', false, true)); diff --git a/tests/src/logo.jpg b/tests/src/logo.jpg new file mode 100644 index 000000000..b576f27b5 Binary files /dev/null and b/tests/src/logo.jpg differ