File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Braintree/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ protected function setupOrderMock(
470
470
'getCustomerEmail ' ,
471
471
'getCustomerId ' ,
472
472
'getStoreId ' ,
473
- 'getTotalDue '
473
+ 'getBaseTotalDue '
474
474
]
475
475
)->getMock ();
476
476
@@ -493,7 +493,7 @@ protected function setupOrderMock(
493
493
->method ('getStoreId ' )
494
494
->willReturn ($ storeId );
495
495
$ orderMock ->expects (static ::any ())
496
- ->method ('getTotalDue ' )
496
+ ->method ('getBaseTotalDue ' )
497
497
->willReturn (self ::TOTAL_AMOUNT );
498
498
499
499
$ this ->orderRepository ->expects (static ::any ())
@@ -1696,7 +1696,7 @@ protected function setupPaymentObjectForCapture($paymentId)
1696
1696
$ order = $ this ->getMockBuilder ('Magento\Sales\Api\Data\OrderInterface ' )
1697
1697
->getMockForAbstractClass ();
1698
1698
$ order ->expects (static ::any ())
1699
- ->method ('getTotalDue ' )
1699
+ ->method ('getBaseTotalDue ' )
1700
1700
->willReturn (self ::TOTAL_AMOUNT );
1701
1701
$ this ->orderRepository ->expects (static ::any ())
1702
1702
->method ('get ' )
You can’t perform that action at this time.
0 commit comments