forked from Wavyzz/dolibarr
review test
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user