Skip to content

Commit 9f4f820

Browse files
ACPT-1360
Fixing CE builds by adding @magentoDbIsolation disabled
1 parent ee52c08 commit 9f4f820

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ResetAfterRequestTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
/**
1616
* Test that verifies that resetState method for classes cause the state to be the same as it was initially constructed
17+
* @magentoDbIsolation disabled
1718
*/
1819
class ResetAfterRequestTest extends \PHPUnit\Framework\TestCase
1920
{
@@ -29,9 +30,6 @@ protected function setUp(): void
2930
{
3031
parent::setUp();
3132
$this->objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
32-
$this->objectManager->configure(
33-
$this->objectManager->get(ConfigLoaderInterface::class)->load('graphql')
34-
);
3533
$this->comparator = $this->objectManager->create(Comparator::class);
3634
$this->collector = $this->objectManager->create(Collector::class);
3735
}
@@ -40,6 +38,7 @@ protected function setUp(): void
4038
* Provides list of all classes and virtual classes that implement ResetAfterRequestInterface
4139
*
4240
* @return array
41+
* @magentoAppIsolation enabled
4342
*/
4443
public function resetAfterRequestClassDataProvider()
4544
{
@@ -103,6 +102,8 @@ public function resetAfterRequestClassDataProvider()
103102
*
104103
* @param string $className
105104
* @dataProvider resetAfterRequestClassDataProvider
105+
* @magentoAppArea graphql
106+
* @magentoDbIsolation disabled
106107
*/
107108
public function testResetAfterRequestClasses(string $className)
108109
{

0 commit comments

Comments
 (0)