Fix PI unit tests

This commit is contained in:
Karol Tatała 2018-02-19 09:52:20 +01:00
parent 5533ee90f2
commit 7b4e0e6fef

View file

@ -440,7 +440,7 @@ class PortableInfoboxMobileRenderServiceTest extends WikiaBaseTest {
]
]
],
'output' => '<aside class="portable-infobox pi-background pi">
'output' => '<aside class="portable-infobox pi-background">
<div class="pi-item pi-hero">
<img
src="data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D" data-src="http://image.jpg" class="pi-image-thumbnail lazy media article-media" alt="image alt" data-image-key="test1" data-image-name="test1" data-ref="1" data-params=\'[{"name":"test1", "full":"http://image.jpg"}]\' />
@ -485,7 +485,7 @@ class PortableInfoboxMobileRenderServiceTest extends WikiaBaseTest {
]
]
],
'output' => '<aside class="portable-infobox pi-background pi">
'output' => '<aside class="portable-infobox pi-background">
<div class="pi-item pi-hero">
<hgroup class="pi-hero-title-wrapper pi-item-spacing">
<h2 class="pi-hero-title">Test <a href="example.com">Title</a></h2>