Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 6b6e823

Browse files
author
Michael Yu
committed
MAGETWO-71765: Impossible perform partial invoice for order placed with taxes and PayPal Payflow Pro
- Fixed code style.
1 parent cf72a45 commit 6b6e823

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/code/Magento/Paypal/Test/Unit/Model/PayflowproTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,10 @@ public function testCaptureAmountRounding($amount, $setAmount, $expectedResult)
346346
->method('postRequest')
347347
->with(
348348
$this->callback(function ($request) use ($expectedResult) {
349-
return is_callable([$request, 'getAmt']) && $request->getAmt() == $expectedResult;
350-
}
351-
),
349+
return is_callable([$request, 'getAmt']) && $request->getAmt() == $expectedResult;}
350+
),
352351
$this->isInstanceOf(PayflowConfig::class)
353-
)
352+
)
354353
->willReturn($response);
355354

356355
$this->payflowpro->capture($paymentMock, $amount);

0 commit comments

Comments
 (0)