Skip to content

Commit cf2c0ad

Browse files
author
Natalia Momotenko
committed
MAGETWO-36132: Update Content in Magento 2 by Modules - part 4
- fixed tests
1 parent f3141c5 commit cf2c0ad

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 with the "Default" name already exists.';
159+
$expectedMessage = 'An attribute set named "Default" already exists.';
160160

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function testCreateThrowsExceptionIfAttributeSetWithGivenNameAlreadyExist
169169
$entityTypeCode = 'catalog_product';
170170
$entityType = $this->getEntityTypeByCode($entityTypeCode);
171171
$attributeSetName = 'Default';
172-
$expectedMessage = 'An attribute set with the "Default" name already exists.';
172+
$expectedMessage = 'An attribute set named "Default" already exists.';
173173

174174
$arguments = [
175175
'entityTypeCode' => $entityTypeCode,

0 commit comments

Comments
 (0)