Skip to content

Commit 69dcf98

Browse files
Andrei KuprienkaA-Komar
authored andcommitted
MAGNIMEX-178: fix unit tests in ImportExport module
1 parent 0e5ad1c commit 69dcf98

File tree

1 file changed

+6
-1
lines changed
  • app/code/Magento/ImportExport/Test/Unit/Block/Adminhtml/Export

1 file changed

+6
-1
lines changed

app/code/Magento/ImportExport/Test/Unit/Block/Adminhtml/Export/FilterTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,12 @@ public function setUp()
171171
);
172172
$this->localeResolver = $this->getMock('Magento\Framework\Locale\Resolver', [], [], '', false);
173173
$this->resource = $this->getMock('Magento\Catalog\Model\Resource\Product', [], [], '', false);
174-
$this->resourceCollection = $this->getMock('Magento\Framework\Data\Collection\Db', [], [], '', false);
174+
$this->resourceCollection = $this->getMockForAbstractClass(
175+
'Magento\Framework\Data\Collection\AbstractDb',
176+
[],
177+
'',
178+
false
179+
);
175180
$this->context = $this->getMock(
176181
'Magento\Backend\Block\Template\Context',
177182
['getFileSystem', 'getEscaper', 'getLocaleDate', 'getLayout'],

0 commit comments

Comments
 (0)