Skip to content

Commit 0b399cd

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3172: Import button missing
1 parent b46c1d5 commit 0b399cd

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/ImportExport/Test/Unit/Controller/Adminhtml/Import

1 file changed

+4
-0
lines changed

app/code/Magento/ImportExport/Test/Unit/Controller/Adminhtml/Import/ValidateTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ public function testFileVerifiedWithImport()
327327
->method('getErrorsCount')
328328
->willReturn(2);
329329

330+
$errorAggregatorMock->expects($this->once())
331+
->method('getAllErrors')
332+
->willReturn($errorAggregatorMock);
333+
330334
$this->resultFactoryMock->expects($this->any())
331335
->method('create')
332336
->with(ResultFactory::TYPE_LAYOUT)

0 commit comments

Comments
 (0)