Skip to content

Commit 06a87e3

Browse files
committed
Revert "AC-7422:Incompatible issues fix for PHP8.2"
This reverts commit fb7420d.
1 parent c9d9bab commit 06a87e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dev/tests/integration/testsuite/Magento/PaypalGraphQl/Model/Resolver/Guest/PaypalExpressTokenTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ public function testResolveWithInvalidRedirectUrl($paymentMethod): void
173173
$this->assertArrayHasKey('errors', $responseData);
174174
$actualError = $responseData['errors'][0];
175175
$this->assertEquals($expectedExceptionMessage, $actualError['message']);
176+
$this->assertEquals(GraphQlInputException::EXCEPTION_CATEGORY, $actualError['extensions']['category']);
176177
}
177178

178179
/**

dev/tests/integration/testsuite/Magento/PaypalGraphQl/Model/Resolver/Guest/PaypalPayflowProTokenExceptionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ public function testResolveWithPaypalError(): void
7474
$this->assertArrayHasKey('errors', $responseData);
7575
$actualError = $responseData['errors'][0];
7676
$this->assertEquals($expectedExceptionMessage, $actualError['message']);
77+
$this->assertEquals(GraphQlInputException::EXCEPTION_CATEGORY, $actualError['extensions']['category']);
7778
}
7879
}

0 commit comments

Comments
 (0)