Skip to content

Commit acd6609

Browse files
committed
MAGETWO-60327: [GITHUB] Orders always get a status of Suspected Fraud in multi-currency store configurations #4263
1 parent 113b90f commit acd6609

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Braintree/Test/Unit/Model/PaymentMethodTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ protected function setupOrderMock(
470470
'getCustomerEmail',
471471
'getCustomerId',
472472
'getStoreId',
473-
'getTotalDue'
473+
'getBaseTotalDue'
474474
]
475475
)->getMock();
476476

@@ -493,7 +493,7 @@ protected function setupOrderMock(
493493
->method('getStoreId')
494494
->willReturn($storeId);
495495
$orderMock->expects(static::any())
496-
->method('getTotalDue')
496+
->method('getBaseTotalDue')
497497
->willReturn(self::TOTAL_AMOUNT);
498498

499499
$this->orderRepository->expects(static::any())
@@ -1696,7 +1696,7 @@ protected function setupPaymentObjectForCapture($paymentId)
16961696
$order = $this->getMockBuilder('Magento\Sales\Api\Data\OrderInterface')
16971697
->getMockForAbstractClass();
16981698
$order->expects(static::any())
1699-
->method('getTotalDue')
1699+
->method('getBaseTotalDue')
17001700
->willReturn(self::TOTAL_AMOUNT);
17011701
$this->orderRepository->expects(static::any())
17021702
->method('get')

0 commit comments

Comments
 (0)