Skip to content

Commit 5a6f82a

Browse files
committed
MAGETWO-35141: Sequence component pull request processing
1 parent af35754 commit 5a6f82a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/configurable_attribute.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
$eavConfig = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\Eav\Model\Config');
8+
$attribute = $eavConfig->getAttribute('catalog_product', 'test_configurable');
9+
if ($attribute instanceof \Magento\Eav\Model\Entity\Attribute\AbstractAttribute
10+
&& $attribute->getId()
11+
) {
12+
$attribute->delete();
13+
}
14+
$eavConfig->clear();
715
/* Create attribute */
816
/** @var $installer \Magento\Catalog\Setup\CategorySetup */
917
$installer = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(

0 commit comments

Comments
 (0)