File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
app/code/Magento/Reports/Test/Integration/Controller/Adminhtml/Report/Product Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ declare (strict_types=1 );
7
+
8
+ namespace Magento \Reports \Test \Integration \Controller \Adminhtml \Report \Product ;
9
+
10
+ use Magento \TestFramework \TestCase \AbstractBackendController ;
11
+
12
+ /**
13
+ * @magentoAppArea adminhtml
14
+ */
15
+ class ExportSoldCsvTest extends AbstractBackendController
16
+ {
17
+ public function testExecute ()
18
+ {
19
+ $ this ->dispatch ('backend/reports/report_product/exportSoldCsv ' );
20
+ $ this ->assertEquals (302 , $ this ->getResponse ()->getHttpResponseCode ());
21
+ }
22
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ declare (strict_types=1 );
7
+
8
+ namespace Magento \Reports \Test \Integration \Controller \Adminhtml \Report \Product ;
9
+
10
+ use Magento \TestFramework \TestCase \AbstractBackendController ;
11
+
12
+ /**
13
+ * @magentoAppArea adminhtml
14
+ */
15
+ class ExportSoldExcelTest extends AbstractBackendController
16
+ {
17
+ public function testExecute ()
18
+ {
19
+ $ this ->dispatch ('backend/reports/report_product/exportSoldExcel ' );
20
+ $ this ->assertEquals (302 , $ this ->getResponse ()->getHttpResponseCode ());
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments