Skip to content

Commit b709c5d

Browse files
committed
MAGETWO-90562: [Forwardport] Fix transaction level in integration tests framework
1 parent b169a66 commit b709c5d

18 files changed

+22
-0
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/_files/product_simple_rollback.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
use Magento\Framework\Exception\NoSuchEntityException;
79

810
\Magento\TestFramework\Helper\Bootstrap::getInstance()->getInstance()->reinitialize();

dev/tests/integration/testsuite/Magento/Catalog/_files/enable_catalog_product_reindex_schedule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
/* @var \Magento\Framework\Indexer\IndexerInterface $model */
89
$model = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(

dev/tests/integration/testsuite/Magento/Catalog/_files/enable_catalog_product_reindex_schedule_rollback.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
use Magento\Catalog\Model\Indexer\Product\Price\Processor;
79
use Magento\TestFramework\Helper\Bootstrap;
810

dev/tests/integration/testsuite/Magento/Catalog/_files/product_simple_with_url_key_rollback.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
use Magento\Framework\Exception\NoSuchEntityException;
79

810
\Magento\TestFramework\Helper\Bootstrap::getInstance()->getInstance()->reinitialize();

dev/tests/integration/testsuite/Magento/Catalog/_files/product_simple_xss_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
/** @var \Magento\Framework\ObjectManagerInterface $objectManager */
89
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();

dev/tests/integration/testsuite/Magento/CatalogUrlRewrite/_files/categories_with_product_ids_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class);
89
$registry->unregister('isSecureArea');

dev/tests/integration/testsuite/Magento/CatalogUrlRewrite/_files/product_simple_rollback.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
use Magento\Framework\Exception\NoSuchEntityException;
79

810
\Magento\TestFramework\Helper\Bootstrap::getInstance()->getInstance()->reinitialize();

dev/tests/integration/testsuite/Magento/Checkout/_files/quote_with_shipping_method_and_items_categories_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89
/** @var \Magento\Framework\Registry $registry */

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
/** @var \Magento\Framework\Registry $registry */
89
$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
/** @var \Magento\Framework\Registry $registry */
89
$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(\Magento\Framework\Registry::class);

0 commit comments

Comments
 (0)