2
0
forked from Wavyzz/dolibarr

review test

This commit is contained in:
Florian HENRY
2023-12-13 11:47:25 +01:00
parent 06037295c4
commit 8be0970a0c

View File

@@ -238,7 +238,6 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
foreach ($localobject->html_images as $i => $val)
if ($localobject->html_images[$i]) {
if ($localobject->html_images[$i]['type'] == 'cidfromdata') {
if (preg_match('/img250x20\.png/i', $localobject->html_images[$i]['fullpath'])) {
print __METHOD__ . " content type must be image png =" . $localobject->html_images[$i]['content_type'] . "\n";
$this->assertEquals($localobject->html_images[$i]['content_type'], 'image/png');
@@ -261,7 +260,6 @@ class CMailFileTest extends PHPUnit\Framework\TestCase
$this->assertEquals(dol_filesize($localobject->html_images[$i]['fullpath']), $fileSize);
}
}
}
return $result;
}