File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
app/code/Magento/Sales/Test/Unit/Model/Order Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11
11
/**
12
12
* Class PaymentTest
13
13
*
14
- * @package Magento\Sales\Model\Order
14
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
15
15
*/
16
16
class PaymentTest extends \PHPUnit_Framework_TestCase
17
17
{
@@ -80,6 +80,9 @@ class PaymentTest extends \PHPUnit_Framework_TestCase
80
80
*/
81
81
protected $ creditMemoMock ;
82
82
83
+ /**
84
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
85
+ */
83
86
protected function setUp ()
84
87
{
85
88
$ this ->eventManagerMock = $ this ->getMockBuilder ('Magento\Framework\Event\Manager ' )
@@ -1130,6 +1133,9 @@ public function testRegisterRefundNotificationTransactionExists()
1130
1133
$ this ->assertSame ($ this ->payment , $ this ->payment ->registerRefundNotification ($ amount ));
1131
1134
}
1132
1135
1136
+ /**
1137
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1138
+ */
1133
1139
public function testRegisterRefundNotification ()
1134
1140
{
1135
1141
$ message = 'Registered notification about refunded amount of . Transaction ID: "100-refund" ' ;
You can’t perform that action at this time.
0 commit comments