mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
add test for sole image in label
This commit is contained in:
parent
49feb54689
commit
91804e99c3
|
@ -223,15 +223,28 @@ class PortableInfoboxRenderServiceHelperTest extends WikiaBaseTest {
|
|||
['data',
|
||||
[
|
||||
'label' => 'Data <div class="some class">with <h2>div </h2>with <small>class</small></div> and other tags',
|
||||
'value' => 'Data <small>Value</small>' ],
|
||||
'value' => 'Data <small>Value</small>'
|
||||
],
|
||||
[
|
||||
'label' => 'Data with div with class and other tags',
|
||||
'value' => 'Data <small>Value</small>'
|
||||
]
|
||||
],
|
||||
['data',
|
||||
[
|
||||
'label' => '<img src="money.jpg" class="test classes" width="20" />',
|
||||
'value' => 'Data <small>Value</small>'
|
||||
],
|
||||
[
|
||||
'label' => '<img src="money.jpg" class="test classes" width="20" />',
|
||||
'value' => 'Data <small>Value</small>'
|
||||
]
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param array $item
|
||||
* @param array $heroData
|
||||
|
|
Loading…
Reference in a new issue