Skip to content

Commit b3eb014

Browse files
committed
ACP2E-3735: Incorrect filtered Data in Product Export for Multi-Store Setup
- fixed unit tests
1 parent 922db95 commit b3eb014

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/CatalogImportExport/Test/Unit/Model/Export/ProductTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ public function testExportCountZeroBreakInternalCalls()
342342
$this->product->expects($this->once())->method('getItemsPerPage')->willReturn($itemsPerPage);
343343
$this->product->expects($this->once())->method('paginateCollection')->with($page, $itemsPerPage);
344344
$this->abstractCollection->expects($this->once())->method('setOrder')->with('entity_id', 'asc');
345-
$this->abstractCollection->expects($this->once())->method('setStoreId')->with(Store::DEFAULT_STORE_ID);
346345

347346
$this->abstractCollection->expects($this->once())->method('count')->willReturn(0);
348347

@@ -373,7 +372,6 @@ public function testExportCurPageEqualToLastBreakInternalCalls()
373372
$this->product->expects($this->once())->method('getItemsPerPage')->willReturn($itemsPerPage);
374373
$this->product->expects($this->once())->method('paginateCollection')->with($page, $itemsPerPage);
375374
$this->abstractCollection->expects($this->once())->method('setOrder')->with('entity_id', 'asc');
376-
$this->abstractCollection->expects($this->once())->method('setStoreId')->with(Store::DEFAULT_STORE_ID);
377375

378376
$this->abstractCollection->expects($this->once())->method('count')->willReturn(1);
379377

0 commit comments

Comments
 (0)