File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager as ObjectManagerHelper ;
10
10
11
+ /**
12
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
13
+ */
11
14
class LinkProcessorTest extends \PHPUnit \Framework \TestCase
12
15
{
13
16
/**
@@ -63,10 +66,15 @@ protected function setUp()
63
66
$ this ->resource = $ this ->createMock (\Magento \Catalog \Model \ResourceModel \Product \Link::class);
64
67
$ this ->resource ->method ('getMainTable ' )->willReturn ('main_link_table ' );
65
68
66
- $ this ->linkFactory = $ this ->createPartialMock (\Magento \Catalog \Model \ResourceModel \Product \LinkFactory::class, ['create ' ]);
69
+ $ this ->linkFactory = $ this ->createPartialMock (
70
+ \Magento \Catalog \Model \ResourceModel \Product \LinkFactory::class,
71
+ ['create ' ]
72
+ );
67
73
$ this ->linkFactory ->method ('create ' )->willReturn ($ this ->resource );
68
74
69
- $ this ->skuProcessor = $ this ->createMock (\Magento \CatalogImportExport \Model \Import \Product \SkuProcessor::class, []);
75
+ $ this ->skuProcessor = $ this ->createMock (
76
+ \Magento \CatalogImportExport \Model \Import \Product \SkuProcessor::class,
77
+ );
70
78
$ this ->logger = $ this ->createMock (\Psr \Log \LoggerInterface::class);
71
79
}
72
80
You can’t perform that action at this time.
0 commit comments