Skip to content

Commit 1227768

Browse files
authored
Merge pull request #8811 from magento-gl/Hammer-247-beta3-delivery-4Mar24
ACPT-1798::[Application Server] Integration test failures
2 parents 1a3ddb4 + e5f4145 commit 1227768

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCheckoutMutationsStateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function setUp(): void
3939
$this->markTestSkipped('GraphQlStateDiff class is not available on this version of Magento.');
4040
}
4141

42-
$this->graphQlStateDiff = new GraphQlStateDiff();
42+
$this->graphQlStateDiff = new GraphQlStateDiff($this);
4343
parent::setUp();
4444
}
4545

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCustomerMutationsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function setUp(): void
3636
$this->markTestSkipped('GraphQlStateDiff class is not available on this version of Magento.');
3737
}
3838

39-
$this->graphQlStateDiff = new GraphQlStateDiff();
39+
$this->graphQlStateDiff = new GraphQlStateDiff($this);
4040
parent::setUp();
4141
}
4242

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function setUp(): void
3939
$this->markTestSkipped('GraphQlStateDiff class is not available on this version of Magento.');
4040
}
4141

42-
$this->graphQlStateDiff = new GraphQlStateDiff();
42+
$this->graphQlStateDiff = new GraphQlStateDiff($this);
4343
parent::setUp();
4444
}
4545

dev/tests/integration/testsuite/Magento/GraphQl/App/State/GraphQlStateDiff.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,18 @@ class GraphQlStateDiff
5757

5858
/**
5959
* Constructor
60+
*
61+
* @param TestCase $test
6062
*/
61-
public function __construct()
63+
public function __construct(TestCase $test)
6264
{
65+
if (8 == PHP_MAJOR_VERSION && 3 == PHP_MINOR_VERSION && PHP_RELEASE_VERSION < 5) {
66+
$test->markTestSkipped(
67+
"This test isn't compatible with PHP 8.3 versions less than PHP 8.3.5 because of "
68+
. "bug in garbage collector. https://github.com/php/php-src/issues/13569"
69+
. " will roll back in AC-11491"
70+
);
71+
}
6372
$this->objectManagerBeforeTest = Bootstrap::getObjectManager();
6473
$this->objectManagerForTest = new ObjectManager($this->objectManagerBeforeTest);
6574
$this->objectManagerForTest->getFactory()->setObjectManager($this->objectManagerForTest);

0 commit comments

Comments
 (0)