diff --git a/app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product/ExportSoldCsvTest.php b/app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product/ExportSoldCsvTest.php new file mode 100644 index 000000000000..27005038ca5b --- /dev/null +++ b/app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product/ExportSoldCsvTest.php @@ -0,0 +1,22 @@ +dispatch('backend/reports/report_product/exportSoldCsv'); + $this->assertEquals(302, $this->getResponse()->getHttpResponseCode()); + } +} diff --git a/app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product/ExportSoldExcelTest.php b/app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product/ExportSoldExcelTest.php new file mode 100644 index 000000000000..f7aa083d924f --- /dev/null +++ b/app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product/ExportSoldExcelTest.php @@ -0,0 +1,22 @@ +dispatch('backend/reports/report_product/exportSoldExcel'); + $this->assertEquals(302, $this->getResponse()->getHttpResponseCode()); + } +}