Skip to content

Commit e2b6e67

Browse files
author
nsyvokonenko
committed
MAGETWO-38138: Stabilize story
1 parent 68d8137 commit e2b6e67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Customer/Api/AddressMetadataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getAttributeMetadataDataProvider()
7676
AttributeMetadata::NOTE => '',
7777
AttributeMetadata::SYSTEM => true,
7878
AttributeMetadata::USER_DEFINED => false,
79-
AttributeMetadata::BACKEND_TYPE => 'varchar',
79+
AttributeMetadata::BACKEND_TYPE => 'static',
8080
AttributeMetadata::SORT_ORDER => 110
8181
],
8282
]

dev/tests/integration/testsuite/Magento/Customer/Model/AddressMetadataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testGetAttributes()
9494
$this->assertInstanceOf('Magento\Customer\Model\Data\AttributeMetadata', $attributeMetadata);
9595
$this->assertEquals('company', $attributeMetadata->getAttributeCode(), 'Attribute code is invalid');
9696
$this->assertNotEmpty($attributeMetadata->getValidationRules(), 'Validation rules are not set');
97-
$this->assertEquals('varchar', $attributeMetadata->getBackendType(), 'Backend type is invalid');
97+
$this->assertEquals('static', $attributeMetadata->getBackendType(), 'Backend type is invalid');
9898
$this->assertEquals('Company', $attributeMetadata->getFrontendLabel(), 'Frontend label is invalid');
9999
}
100100
}

0 commit comments

Comments
 (0)