mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MNT Update unit test to expect loading attribute
This commit is contained in:
parent
29320841c9
commit
22f809840a
@ -180,7 +180,7 @@ class HTMLEditorFieldTest extends FunctionalTest
|
|||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
<<<EOS
|
<<<EOS
|
||||||
<span class="readonly typography" id="Content">
|
<span class="readonly typography" id="Content">
|
||||||
<img src="/assets/HTMLEditorFieldTest/f5c7c2f814/example__ResizedImageWzEwLDIwXQ.jpg" alt="" width="10" height="20">
|
<img src="/assets/HTMLEditorFieldTest/f5c7c2f814/example__ResizedImageWzEwLDIwXQ.jpg" alt="" width="10" height="20" loading="lazy">
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ EOS
|
|||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
<<<EOS
|
<<<EOS
|
||||||
<span class="readonly typography" id="Content">
|
<span class="readonly typography" id="Content">
|
||||||
<img src="/assets/HTMLEditorFieldTest/f5c7c2f814/example__ResizedImageWzEwLDIwXQ.jpg" alt="" width="10" height="20">
|
<img src="/assets/HTMLEditorFieldTest/f5c7c2f814/example__ResizedImageWzEwLDIwXQ.jpg" alt="" width="10" height="20" loading="lazy">
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<input type="hidden" name="Content" value="[image src="/assets/HTMLEditorFieldTest/f5c7c2f814/example.jpg" width="10" height="20" id="{$fileID}"]" />
|
<input type="hidden" name="Content" value="[image src="/assets/HTMLEditorFieldTest/f5c7c2f814/example.jpg" width="10" height="20" id="{$fileID}"]" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user