Skip to content

Commit f6cfd3a

Browse files
committed
MC-31387: Paypal issue with region
- Fixed integration test
1 parent 92d1784 commit f6cfd3a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dev/tests/integration/testsuite/Magento/Paypal/Model/Express/CheckoutTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ public function testGuestReturnFromPaypal()
649649

650650
$this->addCountryFactory($api);
651651
$data = [
652-
'COUNTRYCODE' => $exportedShippingAddress['country_id'],
653-
'STATE' => $exportedShippingAddress['region']
652+
'COUNTRYCODE' => $quote->getShippingAddress()->getCountryId(),
653+
'STATE' => 'unknown'
654654
];
655655
$api->method('call')
656656
->willReturn($data);
@@ -677,7 +677,6 @@ private function getExportedAddressFixture(array $addressData, string $prefix =
677677
{
678678
$addressDataKeys = [
679679
'country',
680-
'country_id',
681680
'firstname',
682681
'lastname',
683682
'street',

0 commit comments

Comments
 (0)