@@ -243,10 +243,11 @@ |
||
243 | 243 | $this->assertEquals($result, 2); |
244 | 244 | |
245 | 245 | |
246 | - foreach ($localobject->html_images as $i => $val) |
|
247 | - if ($localobject->html_images[$i]) { |
|
246 | + foreach ($localobject->html_images as $i => $val) { |
|
247 | + if ($localobject->html_images[$i]) { |
|
248 | 248 | if (preg_match('/img250x20\.png/i', $localobject->html_images[$i]['fullpath'])) { |
249 | 249 | print __METHOD__ . " content type must be image png =" . $localobject->html_images[$i]['content_type'] . "\n"; |
250 | + } |
|
250 | 251 | $this->assertEquals($localobject->html_images[$i]['content_type'], 'image/png'); |
251 | 252 | |
252 | 253 | print __METHOD__ . " type must be cidfromurl =" . $localobject->html_images[$i]['type'] . "\n"; |