Skip to content

Commit 204f4ae

Browse files
committed
ACP2E-4049: Unknown IPNs from PayPal abuses application IPN processor
1 parent 859daae commit 204f4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Paypal/Test/Unit/Controller/Ipn/IndexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testIndexActionUnknownIpnException()
9292
$this->requestMock->expects($this->once())->method('isPost')->willReturn(true);
9393
$exception = new UnknownIpnException(__('Missing invoice field in IPN request.'));
9494
$this->requestMock->expects($this->once())->method('getPostValue')->willThrowException($exception);
95-
$this->loggerMock->expects($this->once())->method('critical')->with($this->identicalTo($exception));
95+
$this->loggerMock->expects($this->once())->method('warning')->with($this->identicalTo($exception));
9696
$this->model->execute();
9797
}
9898

0 commit comments

Comments
 (0)