We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af35754 commit 5a6f82aCopy full SHA for 5a6f82a
dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/configurable_attribute.php
@@ -4,6 +4,14 @@
4
* See COPYING.txt for license details.
5
*/
6
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();
15
/* Create attribute */
16
/** @var $installer \Magento\Catalog\Setup\CategorySetup */
17
$installer = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(
0 commit comments