Skip to content

Commit 6f723ff

Browse files
author
Yu Tang
committed
MAGETWO-37032: Port M1 Braintree V1 code to M2 using V.Zero PHP library
- Fix unit test failure
1 parent bbdfb53 commit 6f723ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/PaymentTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,14 @@ function ($value) {
182182

183183
$this->transactionFactory = $this->getMock(
184184
'Magento\Sales\Model\Order\Payment\TransactionFactory',
185-
[],
185+
['create'],
186186
[],
187187
'',
188188
false
189189
);
190190
$this->transactionCollectionFactory = $this->getMock(
191191
'Magento\Sales\Model\Resource\Order\Payment\Transaction\CollectionFactory',
192-
[],
192+
['create'],
193193
[],
194194
'',
195195
false

0 commit comments

Comments
 (0)