Skip to content

Commit 252e075

Browse files
committed
MAGETWO-90761: [2.3.0] PayPal orders status display always as Processing
1 parent f3234e1 commit 252e075

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/Payment/State/RegisterCaptureNotificationCommandTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ class RegisterCaptureNotificationCommandTest extends \PHPUnit\Framework\TestCase
3232
*
3333
* @param bool $isTransactionPending
3434
* @param bool $isFraudDetected
35-
* @param string $currentState
35+
* @param string|null $currentState
3636
* @param string $expectedState
3737
* @param string $expectedStatus
3838
* @param string $expectedMessage
3939
* @return void
4040
* @dataProvider commandResultDataProvider
4141
*/
4242
public function testExecute(
43-
$isTransactionPending,
44-
$isFraudDetected,
43+
bool $isTransactionPending,
44+
bool $isFraudDetected,
4545
$currentState,
46-
$expectedState,
47-
$expectedStatus,
48-
$expectedMessage
46+
string $expectedState,
47+
string $expectedStatus,
48+
string $expectedMessage
4949
): void {
5050
$order = $this->getOrder($currentState);
5151
$actualReturn = (new RegisterCaptureNotificationCommand($this->getStatusResolver()))->execute(

0 commit comments

Comments
 (0)