Skip to content

Commit c8725fe

Browse files
MAGETWO-64833: [Github] PayPal Express Checkout Discards Address Line 2 For Billing and Shipping Addresses #8313
Fixed integration test
1 parent 4af86d6 commit c8725fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testCheckoutStartWithBillingAddress()
111111
->disableOriginalConstructor()
112112
->getMock();
113113

114-
$checkoutModel = $this->_objectManager->create(
114+
$checkoutModel = $this->objectManager->create(
115115
Checkout::class,
116116
[
117117
'params' => ['quote' => $quote, 'config' => $paypalConfig],
@@ -418,7 +418,7 @@ public function testGuestReturnFromPaypal()
418418
->setMethods(['importToPayment'])
419419
->getMock();
420420

421-
$checkoutModel = $this->_objectManager->create(
421+
$checkoutModel = $this->objectManager->create(
422422
Checkout::class,
423423
[
424424
'params' => ['quote' => $quote, 'config' => $paypalConfig],
@@ -491,8 +491,8 @@ protected function _getExportedAddressFixture(array $addressData)
491491
*/
492492
protected function _getFixtureQuote()
493493
{
494-
/** @var \Magento\Quote\Model\ResourceModel\Quote\Collection $quoteCollection */
495-
$quoteCollection = $this->objectManager->create(\Magento\Quote\Model\ResourceModel\Quote\Collection::class);
494+
/** @var Collection $quoteCollection */
495+
$quoteCollection = $this->objectManager->create(Collection::class);
496496

497497
return $quoteCollection->getLastItem();
498498
}

0 commit comments

Comments
 (0)