File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
app/code/Magento/ImportExport/Test/Unit/Model Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,11 @@ class ImportTest extends \PHPUnit_Framework_TestCase
103
103
*/
104
104
protected $ _driver ;
105
105
106
+ /**
107
+ * Set up
108
+ *
109
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
110
+ */
106
111
public function setUp ()
107
112
{
108
113
$ logger = $ this ->getMockBuilder ('\Psr\Log\LoggerInterface ' )
@@ -554,7 +559,6 @@ public function testCreateHistoryReportSourceFileRelativeIsArray()
554
559
$ fileName = $ sourceFileRelative ['file_name ' ];
555
560
$ gmtTimestamp = 1234567 ;
556
561
$ copyName = $ gmtTimestamp . '_ ' . $ fileName ;
557
- $ copyFile = \Magento \ImportExport \Model \Import::IMPORT_HISTORY_DIR . $ copyName ;
558
562
559
563
$ this ->import
560
564
->expects ($ this ->once ())
@@ -599,7 +603,6 @@ public function testCreateHistoryReportSourceFileRelativeIsNotArrayResultIsSet()
599
603
$ fileName = $ result ['name ' ];
600
604
$ gmtTimestamp = 1234567 ;
601
605
$ copyName = $ gmtTimestamp . '_ ' . $ fileName ;
602
- $ copyFile = \Magento \ImportExport \Model \Import::IMPORT_HISTORY_DIR . $ copyName ;
603
606
604
607
$ this ->import
605
608
->expects ($ this ->once ())
@@ -640,7 +643,6 @@ public function testCreateHistoryReportExtensionIsSet()
640
643
$ fileName = $ entity . $ extension ;
641
644
$ gmtTimestamp = 1234567 ;
642
645
$ copyName = $ gmtTimestamp . '_ ' . $ fileName ;
643
- $ copyFile = \Magento \ImportExport \Model \Import::IMPORT_HISTORY_DIR . $ copyName ;
644
646
645
647
$ this ->import
646
648
->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments