Skip to content

Commit c47948a

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-36129: Update Content in Magento 2 by Modules - part 1
- fixed tests
1 parent 04b071e commit c47948a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/AttributeSetManagementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function testCreateThrowsExceptionIfAttributeSetWithGivenNameAlreadyExist
156156
$entityTypeCode = 'catalog_product';
157157
$entityType = $this->getEntityTypeByCode($entityTypeCode);
158158
$attributeSetName = 'Default';
159-
$expectedMessage = 'An attribute set "Default" already exists.';
159+
$expectedMessage = 'An attribute set named "Default" already exists.';
160160

161161
$arguments = [
162162
'attributeSet' => [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function processAssert(CatalogProductSetIndex $productSetPage, CatalogAtt
3636
$productSetPage->open();
3737
\PHPUnit_Framework_Assert::assertFalse(
3838
$productSetPage->getGrid()->isRowVisible($filterAttributeSet),
39-
'An attribute set "' . $filterAttributeSet['set_name'] . '" is present in Product Template grid.'
39+
'An attribute set named "' . $filterAttributeSet['set_name'] . '" is present in Product Template grid.'
4040
);
4141
}
4242

0 commit comments

Comments
 (0)