Skip to content

Commit 661a49a

Browse files
author
Bohdan Korablov
committed
MAGETWO-51754: Fail automated test CreateProductAttributeEntityTest
1 parent a119247 commit 661a49a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertProductAttributeIsRequired.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public function processAssert(
4848
$catalogProductEdit->getFormPageActions()->save();
4949
$validationErrors = $productForm->getSection($sectionName)->getValidationErrors();
5050
$actualMessage = isset($validationErrors[$attribute->getFrontendLabel()])
51-
? $validationErrors[$attribute->getFrontendLabel()] : '';
51+
? $validationErrors[$attribute->getFrontendLabel()]
52+
: '';
5253

5354
\PHPUnit_Framework_Assert::assertEquals(
5455
self::REQUIRE_MESSAGE,

0 commit comments

Comments
 (0)