Skip to content

Commit 10fbebb

Browse files
committed
AC-10665: Integration Failures with PHP8.3
1 parent 2696261 commit 10fbebb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ protected function setUp(): void
3232
{
3333
if (!class_exists(GraphQlStateDiff::class)) {
3434
$this->markTestSkipped('GraphQlStateDiff class is not available on this version of Magento.');
35-
} else {
36-
$this->graphQlStateDiff = new GraphQlStateDiff();
3735
}
36+
37+
$this->graphQlStateDiff = new GraphQlStateDiff();
3838
parent::setUp();
3939
}
4040

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ protected function setUp(): void
3737
{
3838
if (!class_exists(GraphQlStateDiff::class)) {
3939
$this->markTestSkipped('GraphQlStateDiff class is not available on this version of Magento.');
40-
} else {
41-
$this->graphQlStateDiff = new GraphQlStateDiff();
4240
}
41+
42+
$this->graphQlStateDiff = new GraphQlStateDiff();
4343
parent::setUp();
4444
}
4545

0 commit comments

Comments
 (0)