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

Commit cf72a45

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 112bd7e commit cf72a45

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,13 +345,12 @@ public function testCaptureAmountRounding($amount, $setAmount, $expectedResult)
345345
$this->gatewayMock->expects($this->once())
346346
->method('postRequest')
347347
->with(
348-
$this->callback(function($request) use ($expectedResult)
349-
{
348+
$this->callback(function ($request) use ($expectedResult) {
350349
return is_callable([$request, 'getAmt']) && $request->getAmt() == $expectedResult;
351350
}
352351
),
353352
$this->isInstanceOf(PayflowConfig::class)
354-
)
353+
)
355354
->willReturn($response);
356355

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

0 commit comments

Comments
 (0)