Skip to content

Commit bc61cd6

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ public function testGuestReturnFromPaypal()
203203
$quote = $this->_getFixtureQuote();
204204
$paypalConfigMock = $this->getMock(\Magento\Paypal\Model\Config::class, [], [], '', false);
205205
$apiTypeFactory = $this->getMock(\Magento\Paypal\Model\Api\Type\Factory::class, [], [], '', false);
206-
$paypalInfo = $this->getMock('Magento\Paypal\Model\Info', [], [], '', false);
206+
$paypalInfo = $this->getMock(\Magento\Paypal\Model\Info::class, [], [], '', false);
207207
$checkoutModel = $this->_objectManager->create(
208-
'Magento\Paypal\Model\Express\Checkout',
208+
\Magento\Paypal\Model\Express\Checkout::class,
209209
[
210210
'params' => ['quote' => $quote, 'config' => $paypalConfigMock],
211211
'apiTypeFactory' => $apiTypeFactory,
@@ -214,7 +214,7 @@ public function testGuestReturnFromPaypal()
214214
);
215215

216216
$api = $this->getMock(
217-
'Magento\Paypal\Model\Api\Nvp',
217+
\Magento\Paypal\Model\Api\Nvp::class,
218218
['call', 'getExportedShippingAddress', 'getExportedBillingAddress'],
219219
[],
220220
'',

0 commit comments

Comments
 (0)