File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
app/code/Magento/Paypal/Test/Unit/Controller/Transparent
dev/tests/integration/testsuite/Magento/Paypal/Controller/Transparent Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \Framework \DataObject ;
14
14
use Magento \Framework \Exception \LocalizedException ;
15
15
use Magento \Framework \Registry ;
16
- use Magento \Framework \ Session \ Generic as Session ;
16
+ use Magento \Checkout \ Model \ Session ;
17
17
use Magento \Framework \View \Layout \ProcessorInterface ;
18
18
use Magento \Framework \View \Result \Layout ;
19
19
use Magento \Framework \View \Result \LayoutFactory ;
Original file line number Diff line number Diff line change 11
11
use Magento \Framework \Api \SearchCriteriaBuilder ;
12
12
use Magento \Framework \Exception \NoSuchEntityException ;
13
13
use Magento \Framework \Intl \DateTimeFactory ;
14
- use Magento \Framework \Session \Generic as GenericSession ;
15
14
use Magento \Quote \Api \CartRepositoryInterface ;
16
15
use Magento \Quote \Api \Data \CartInterface ;
17
16
use Magento \Quote \Api \PaymentMethodManagementInterface ;
@@ -59,7 +58,7 @@ public function testPaymentCcExpirationDate(
59
58
$ this ->getRequest ()->setPostValue ($ postData );
60
59
$ this ->getRequest ()->setMethod ('POST ' );
61
60
/** @var Session $checkoutSession */
62
- $ checkoutSession = $ this ->_objectManager ->get (GenericSession ::class);
61
+ $ checkoutSession = $ this ->_objectManager ->get (Session ::class);
63
62
$ checkoutSession ->setQuoteId ($ quote ->getId ());
64
63
$ this ->setCurrentDateTime ($ currentDateTime );
65
64
You can’t perform that action at this time.
0 commit comments