Skip to content

Commit 973aa0e

Browse files
committed
Merge remote-tracking branch 'origin/ACP2E-4288' into PR_2025_10_24_muntianu
2 parents ab829bf + 79e1892 commit 973aa0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Reports/Controller/Adminhtml/Report/Shopcart/ExportAbandonedCsv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function execute()
2727
$fileName = 'shopcart_abandoned.csv';
2828
$content = $this->_view->getLayout()->createBlock(
2929
\Magento\Reports\Block\Adminhtml\Shopcart\Abandoned\Grid::class
30-
)->getCsv();
30+
)->getCsvFile();
3131

3232
return $this->_fileFactory->create($fileName, $content, DirectoryList::VAR_DIR);
3333
}

app/code/Magento/Reports/Test/Unit/Controller/Adminhtml/Report/Shopcart/ExportAbandonedCsvTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testExecute()
4545

4646
$this->abstractBlockMock
4747
->expects($this->once())
48-
->method('getCsv')
48+
->method('getCsvFile')
4949
->willReturn($content);
5050

5151
$this->layoutMock

0 commit comments

Comments
 (0)