Skip to content

Commit ce7d097

Browse files
committed
MAGETWO-60572: [GitHub] PayPal.js error on checkout downloadable product #7000
1 parent 6815c97 commit ce7d097

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev/tests/functional/tests/app/Magento/Braintree/Test/TestStep/PlaceOrderWithPaypalStep.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ public function run()
124124

125125
$this->assertBillingAddressAbsentInPayment->processAssert($this->checkoutOnepage);
126126

127-
if ($this->checkoutMethod === 'guest' &&
128-
empty($this->shipping['shipping_method']) &&
129-
empty($this->shipping['shipping_service'])) {
127+
if ($this->checkoutMethod === 'guest' && empty($this->shipping)) {
130128
$this->checkoutOnepage->getLoginBlock()->fillGuestFields($this->customer);
131129
}
132130

0 commit comments

Comments
 (0)