protected function CommerceReportsViewsExportTestCase::getRenderedExport in Commerce Reporting 7.4
4 calls to CommerceReportsViewsExportTestCase::getRenderedExport()
- CommerceReportsViewsExportTestCase::testCustomerViewsDataExport in src/
Tests/ CommerceReportsViewsExportTestCase.php - CommerceReportsViewsExportTestCase::testPaymentMethodViewsDataExport in src/
Tests/ CommerceReportsViewsExportTestCase.php - CommerceReportsViewsExportTestCase::testProductViewsDataExport in src/
Tests/ CommerceReportsViewsExportTestCase.php - CommerceReportsViewsExportTestCase::testSalesViewsDataExport in src/
Tests/ CommerceReportsViewsExportTestCase.php
File
- src/
Tests/ CommerceReportsViewsExportTestCase.php, line 24
Class
- CommerceReportsViewsExportTestCase
- Class CommerceReportsViewsExportTestCase
Namespace
Drupal\commerce_reports\TestsCode
protected function getRenderedExport($name, $id = 'views_data_export_1') {
$report = $this
->getView($name, $id);
return array_filter(explode(PHP_EOL, $report
->render()));
}