File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Test/Unit/Model/GuestCart Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Quote \Model \GuestCart ;
7
7
8
- use Magento \Quote \Model \ PaymentMethodManagement ;
8
+ use Magento \Quote \Api \ PaymentMethodManagementInterface ;
9
9
use Magento \Quote \Api \GuestPaymentMethodManagementInterface ;
10
10
use Magento \Quote \Model \QuoteIdMask ;
11
11
use Magento \Quote \Model \QuoteIdMaskFactory ;
@@ -21,18 +21,18 @@ class GuestPaymentMethodManagement implements GuestPaymentMethodManagementInterf
21
21
protected $ quoteIdMaskFactory ;
22
22
23
23
/**
24
- * @var PaymentMethodManagement
24
+ * @var PaymentMethodManagementInterface
25
25
*/
26
26
protected $ paymentMethodManagement ;
27
27
28
28
/**
29
29
* Initialize dependencies.
30
30
*
31
- * @param PaymentMethodManagement $paymentMethodManagement
31
+ * @param PaymentMethodManagementInterface $paymentMethodManagement
32
32
* @param QuoteIdMaskFactory $quoteIdMaskFactory
33
33
*/
34
34
public function __construct (
35
- PaymentMethodManagement $ paymentMethodManagement ,
35
+ PaymentMethodManagementInterface $ paymentMethodManagement ,
36
36
QuoteIdMaskFactory $ quoteIdMaskFactory
37
37
) {
38
38
$ this ->quoteIdMaskFactory = $ quoteIdMaskFactory ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ protected function setUp()
46
46
{
47
47
$ objectManager = new \Magento \Framework \TestFramework \Unit \Helper \ObjectManager ($ this );
48
48
$ this ->paymentMethodManagementMock = $ this ->getMock (
49
- 'Magento\Quote\Model\PaymentMethodManagement ' ,
49
+ 'Magento\Quote\Api\PaymentMethodManagementInterface ' ,
50
50
[],
51
51
[],
52
52
'' ,
You can’t perform that action at this time.
0 commit comments