diff options
Diffstat (limited to 'tests/app/Module/IndividualReportModuleTest.php')
| -rw-r--r-- | tests/app/Module/IndividualReportModuleTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php index eba24b5eb7..e8d1e4e5e3 100644 --- a/tests/app/Module/IndividualReportModuleTest.php +++ b/tests/app/Module/IndividualReportModuleTest.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; @@ -90,6 +91,9 @@ class IndividualReportModuleTest 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(); |
