Skip to content

Commit 0ffc85b

Browse files
committed
MAGETWO-58676: [Github] #6296 PayPal Express payments fail as tries to remove stock twice
1 parent 8993d97 commit 0ffc85b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ public function testReturnFromPaypal()
201201
public function testGuestReturnFromPaypal()
202202
{
203203
$quote = $this->_getFixtureQuote();
204-
$paypalConfigMock = $this->getMock('Magento\Paypal\Model\Config', [], [], '', false);
205-
$apiTypeFactory = $this->getMock('Magento\Paypal\Model\Api\Type\Factory', [], [], '', false);
204+
$paypalConfigMock = $this->getMock(\Magento\Paypal\Model\Config::class, [], [], '', false);
205+
$apiTypeFactory = $this->getMock(\Magento\Paypal\Model\Api\Type\Factory::class, [], [], '', false);
206206
$paypalInfo = $this->getMock('Magento\Paypal\Model\Info', [], [], '', false);
207207
$checkoutModel = $this->_objectManager->create(
208208
'Magento\Paypal\Model\Express\Checkout',

0 commit comments

Comments
 (0)