Skip to content

Commit c9d9bab

Browse files
committed
Revert "AC-7422:Incompatible issues fix for PHP8.2"
This reverts commit f232f45.
1 parent 57f5b62 commit c9d9bab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public function testOrderWithHostedProDeclined(): void
208208
$this->assertArrayHasKey('errors', $responseData);
209209
$actualError = $responseData['errors'][0];
210210
$this->assertEquals($expectedExceptionMessage, $actualError['message']);
211+
$this->assertEquals(GraphQlInputException::EXCEPTION_CATEGORY, $actualError['extensions']['category']);
211212
}
212213

213214
/**
@@ -259,5 +260,6 @@ public function testSetPaymentMethodInvalidUrls()
259260
$this->assertArrayHasKey('errors', $responseData);
260261
$actualError = $responseData['errors'][0];
261262
$this->assertEquals($expectedExceptionMessage, $actualError['message']);
263+
$this->assertEquals(GraphQlInputException::EXCEPTION_CATEGORY, $actualError['extensions']['category']);
262264
}
263265
}

0 commit comments

Comments
 (0)