Skip to content

Commit 15ca98f

Browse files
author
Aleksandr Osadchyi
committed
Merge remote-tracking branch 'origin/MAGETWO-58078' into BUGS
2 parents 15d7397 + 5fb3695 commit 15ca98f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Adminhtml/Product/Attribute/CustomAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private function getElementByClass($class)
102102
{
103103
$element = null;
104104
foreach (array_keys($this->classReferences) as $key) {
105-
if (strpos($class, $key) !== false) {
105+
if ($class == $key) {
106106
return $this->classReferences[$class];
107107
}
108108
}

dev/tests/functional/tests/app/Magento/Catalog/Test/etc/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
<item name="selector" xsi:type="string">[name="product[%code%]"]</item>
168168
<item name="type" xsi:type="string">null</item>
169169
</item>
170-
<item name="hasDatepicker" xsi:type="array">
170+
<item name="admin__control-text _has-datepicker" xsi:type="array">
171171
<item name="selector" xsi:type="string">[name="product[%code%]"]</item>
172172
<item name="type" xsi:type="string">datepicker</item>
173173
</item>

0 commit comments

Comments
 (0)