summaryrefslogtreecommitdiff
path: root/tests/app/Module/DescendancyReportModuleTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Module/DescendancyReportModuleTest.php')
-rw-r--r--tests/app/Module/DescendancyReportModuleTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php
index 9662b1560b..409606da25 100644
--- a/tests/app/Module/DescendancyReportModuleTest.php
+++ b/tests/app/Module/DescendancyReportModuleTest.php
@@ -20,6 +20,7 @@ namespace Fisharebest\Webtrees\Module;
use Fisharebest\Webtrees\Auth;
use Fisharebest\Webtrees\Report\ReportHtml;
use Fisharebest\Webtrees\Report\ReportParserGenerate;
+use Fisharebest\Webtrees\Report\ReportParserSetup;
use Fisharebest\Webtrees\Report\ReportPdf;
use Fisharebest\Webtrees\Services\UserService;
use Fisharebest\Webtrees\Tree;
@@ -87,6 +88,9 @@ class DescendancyReportModuleTest extends \Fisharebest\Webtrees\TestCase
'pageSize' => ['id' => 'A4'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();