Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit fd14539

Browse files
committed
Fix static test for LinkTest
1 parent f12ae15 commit fd14539

File tree

1 file changed

+4
-1
lines changed
  • lib/internal/Magento/Framework/View/Test/Unit/Element/Html

1 file changed

+4
-1
lines changed

Diff for: lib/internal/Magento/Framework/View/Test/Unit/Element/Html/LinkTest.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,13 @@ public function getLinkAttributesDataProvider()
103103
$linkWithAttributes->setDataUsingMethod($attribute, $attribute);
104104
}
105105

106+
$expectedFull = 'href="http://site.com/link.html" shape="shape" ';
107+
$expectedFull .= 'tabindex="tabindex" onfocus="onfocus" onblur="onblur" id="id"';
108+
106109
return [
107110
'full' => [
108111
'link' => $linkWithAttributes,
109-
'expected' => 'href="http://site.com/link.html" shape="shape" tabindex="tabindex" onfocus="onfocus" onblur="onblur" id="id"',
112+
'expected' => $expectedFull,
110113
],
111114
'empty' => [
112115
'link' => $linkWithoutAttributes,

0 commit comments

Comments
 (0)