Skip to content

Commit d0dcf1f

Browse files
Andrei KuprienkaAndrei Kuprienka
authored andcommitted
MAGNIMEX-SPRINT2: Add lost php unit tests
fixed code styles
1 parent bb295f6 commit d0dcf1f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ProductTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*
1818
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1919
* @SuppressWarnings(PHPMD.TooManyFields)
20+
* @SuppressWarnings(PHPMD.ExcessivePublicCount)
2021
*
2122
*/
2223
class ProductTest extends \PHPUnit_Framework_TestCase

app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product/Type/AbstractTypeTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Test class for import product AbstractType class
14+
*
15+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
1416
*/
1517
class AbstractTypeTest extends \PHPUnit_Framework_TestCase
1618
{
@@ -131,10 +133,10 @@ protected function setUp()
131133
);
132134

133135
$this->abstractType = $this->getMockBuilder(
134-
'\Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType'
135-
)
136-
->disableOriginalConstructor()
137-
->getMockForAbstractClass();
136+
'\Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType'
137+
)
138+
->disableOriginalConstructor()
139+
->getMockForAbstractClass();
138140
}
139141

140142
/**

0 commit comments

Comments
 (0)