File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
app/code/Magento/Paypal/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,11 @@ public function testProcessIpnRequestThrowsException()
172
172
->getMock ();
173
173
$ orderMutexMock = $ this ->getMockForAbstractClass (orderMutexInterface::class);
174
174
$ loggerMock = $ this ->getMockForAbstractClass (LoggerInterface::class);
175
+ $ data = [
176
+ 'payment_status ' => 'Pending ' ,
177
+ 'pending_reason ' => 'fraud ' ,
178
+ 'fraud_management_pending_filters_1 ' => 'Maximum Transaction Amount ' ,
179
+ ];
175
180
$ this ->_ipn = new Ipn (
176
181
$ this ->configFactory ,
177
182
$ loggerMock ,
@@ -181,11 +186,7 @@ public function testProcessIpnRequestThrowsException()
181
186
$ orderSenderMock ,
182
187
$ creditmemoSenderMock ,
183
188
$ orderMutexMock ,
184
- [
185
- 'payment_status ' => 'Pending ' ,
186
- 'pending_reason ' => 'fraud ' ,
187
- 'fraud_management_pending_filters_1 ' => 'Maximum Transaction Amount ' ,
188
- ]
189
+ $ data
189
190
);
190
191
$ this ->expectException (UnknownIpnException::class);
191
192
$ this ->_ipn ->processIpnRequest ();
You can’t perform that action at this time.
0 commit comments