File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
app/code/Magento/Sales/Test/Unit/Model/Order/Payment/State Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,20 @@ class RegisterCaptureNotificationCommandTest extends \PHPUnit\Framework\TestCase
32
32
*
33
33
* @param bool $isTransactionPending
34
34
* @param bool $isFraudDetected
35
- * @param string $currentState
35
+ * @param string|null $currentState
36
36
* @param string $expectedState
37
37
* @param string $expectedStatus
38
38
* @param string $expectedMessage
39
39
* @return void
40
40
* @dataProvider commandResultDataProvider
41
41
*/
42
42
public function testExecute (
43
- $ isTransactionPending ,
44
- $ isFraudDetected ,
43
+ bool $ isTransactionPending ,
44
+ bool $ isFraudDetected ,
45
45
$ currentState ,
46
- $ expectedState ,
47
- $ expectedStatus ,
48
- $ expectedMessage
46
+ string $ expectedState ,
47
+ string $ expectedStatus ,
48
+ string $ expectedMessage
49
49
): void {
50
50
$ order = $ this ->getOrder ($ currentState );
51
51
$ actualReturn = (new RegisterCaptureNotificationCommand ($ this ->getStatusResolver ()))->execute (
You can’t perform that action at this time.
0 commit comments