diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-04-14 15:10:34 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-04-14 15:10:34 +0100 |
| commit | 4358d8ae61ad3a69c9460d7a3f75ae9fd271cce7 (patch) | |
| tree | 52a1a3b96509b3b82be5ddf1bb6d194b3921c174 /tests/app/Module/DescendancyReportModuleTest.php | |
| parent | 923ec5a1bd14b4688bade16e485e3cac357c20af (diff) | |
| download | webtrees-4358d8ae61ad3a69c9460d7a3f75ae9fd271cce7.tar.gz webtrees-4358d8ae61ad3a69c9460d7a3f75ae9fd271cce7.tar.bz2 webtrees-4358d8ae61ad3a69c9460d7a3f75ae9fd271cce7.zip | |
Test coverage
Diffstat (limited to 'tests/app/Module/DescendancyReportModuleTest.php')
| -rw-r--r-- | tests/app/Module/DescendancyReportModuleTest.php | 4 |
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(); |
