Skip to content

Commit e6b7b33

Browse files
author
valdislav
committed
MAGETWO-36882: Stabilizing branch
1 parent 3afec79 commit e6b7b33

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/PaymentTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Class PaymentTest
1313
*
14-
* @package Magento\Sales\Model\Order
14+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1515
*/
1616
class PaymentTest extends \PHPUnit_Framework_TestCase
1717
{
@@ -80,6 +80,9 @@ class PaymentTest extends \PHPUnit_Framework_TestCase
8080
*/
8181
protected $creditMemoMock;
8282

83+
/**
84+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
85+
*/
8386
protected function setUp()
8487
{
8588
$this->eventManagerMock = $this->getMockBuilder('Magento\Framework\Event\Manager')
@@ -1130,6 +1133,9 @@ public function testRegisterRefundNotificationTransactionExists()
11301133
$this->assertSame($this->payment, $this->payment->registerRefundNotification($amount));
11311134
}
11321135

1136+
/**
1137+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1138+
*/
11331139
public function testRegisterRefundNotification()
11341140
{
11351141
$message = 'Registered notification about refunded amount of . Transaction ID: "100-refund"';

0 commit comments

Comments
 (0)