Skip to content

Commit 79e1892

Browse files
committed
ACP2E-4288: Abandoned cart report contains invalid characters
1 parent 98f028a commit 79e1892

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)