Skip to content

Commit 7fa9219

Browse files
ACQE-8898: Create configurable product with child by REST API
- Added skip logic when 2FA is enabled
1 parent 0c1df28 commit 7fa9219

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api/CompleteConfigurableProductWorkflowTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
use Magento\Catalog\Test\Fixture\Attribute as AttributeFixture;
1111
use Magento\Framework\Exception\NoSuchEntityException;
12+
use Magento\Framework\Module\Manager;
1213
use Magento\TestFramework\TestCase\WebapiAbstract;
1314
use Magento\Framework\Webapi\Rest\Request;
1415
use Magento\TestFramework\Helper\Bootstrap;
@@ -43,6 +44,11 @@ protected function setUp(): void
4344
$this->fixtures = Bootstrap::getObjectManager()
4445
->get(DataFixtureStorageManager::class)
4546
->getStorage();
47+
$this->objectManager = Bootstrap::getObjectManager();
48+
$this->moduleManager = $this->objectManager->get(Manager::class);
49+
if ($this->moduleManager->isEnabled('Magento_TwoFactorAuth')) {
50+
$this->markTestSkipped('Skipped, because this token obtaining logic is rewritten in TwoFactorAuth.');
51+
}
4652
}
4753

4854
/**

0 commit comments

Comments
 (0)