From ce7d097ecde2a25878deaafa38e836aa5086fc1a Mon Sep 17 00:00:00 2001
From: Iurii Ivashchenko <iivashchenko@magento.com>
Date: Fri, 11 Nov 2016 16:27:20 +0200
Subject: [PATCH] MAGETWO-60572: [GitHub] PayPal.js error on checkout
 downloadable product #7000

---
 .../Braintree/Test/TestStep/PlaceOrderWithPaypalStep.php      | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev/tests/functional/tests/app/Magento/Braintree/Test/TestStep/PlaceOrderWithPaypalStep.php b/dev/tests/functional/tests/app/Magento/Braintree/Test/TestStep/PlaceOrderWithPaypalStep.php
index fc54b3ca5b6..cae85fea49c 100644
--- a/dev/tests/functional/tests/app/Magento/Braintree/Test/TestStep/PlaceOrderWithPaypalStep.php
+++ b/dev/tests/functional/tests/app/Magento/Braintree/Test/TestStep/PlaceOrderWithPaypalStep.php
@@ -124,9 +124,7 @@ class PlaceOrderWithPaypalStep implements TestStepInterface
 
         $this->assertBillingAddressAbsentInPayment->processAssert($this->checkoutOnepage);
 
-        if ($this->checkoutMethod === 'guest' &&
-            empty($this->shipping['shipping_method']) &&
-            empty($this->shipping['shipping_service'])) {
+        if ($this->checkoutMethod === 'guest' && empty($this->shipping)) {
             $this->checkoutOnepage->getLoginBlock()->fillGuestFields($this->customer);
         }
 
-- 
GitLab