Skip to content

Commit 579b02e

Browse files
committed
MC-41975: Negotiable Quote an not be payed with PayPal PayFlow Pro when cart has items
1 parent 28fb7e9 commit 579b02e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/code/Magento/Paypal/Test/Unit/Controller/Transparent/ResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use Magento\Framework\DataObject;
1414
use Magento\Framework\Exception\LocalizedException;
1515
use Magento\Framework\Registry;
16-
use Magento\Framework\Session\Generic as Session;
16+
use Magento\Checkout\Model\Session;
1717
use Magento\Framework\View\Layout\ProcessorInterface;
1818
use Magento\Framework\View\Result\Layout;
1919
use Magento\Framework\View\Result\LayoutFactory;

dev/tests/integration/testsuite/Magento/Paypal/Controller/Transparent/ResponseTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Magento\Framework\Api\SearchCriteriaBuilder;
1212
use Magento\Framework\Exception\NoSuchEntityException;
1313
use Magento\Framework\Intl\DateTimeFactory;
14-
use Magento\Framework\Session\Generic as GenericSession;
1514
use Magento\Quote\Api\CartRepositoryInterface;
1615
use Magento\Quote\Api\Data\CartInterface;
1716
use Magento\Quote\Api\PaymentMethodManagementInterface;
@@ -59,7 +58,7 @@ public function testPaymentCcExpirationDate(
5958
$this->getRequest()->setPostValue($postData);
6059
$this->getRequest()->setMethod('POST');
6160
/** @var Session $checkoutSession */
62-
$checkoutSession = $this->_objectManager->get(GenericSession::class);
61+
$checkoutSession = $this->_objectManager->get(Session::class);
6362
$checkoutSession->setQuoteId($quote->getId());
6463
$this->setCurrentDateTime($currentDateTime);
6564

0 commit comments

Comments
 (0)