mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
Tests: Use different jpg file
This commit is contained in:
@@ -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));
|
||||
|
||||
BIN
tests/src/logo.jpg
Normal file
BIN
tests/src/logo.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user