summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/app/Module/AhnentafelReportModuleTest.php4
-rw-r--r--tests/app/Module/BirthDeathMarriageReportModuleTest.php4
-rw-r--r--tests/app/Module/BirthReportModuleTest.php4
-rw-r--r--tests/app/Module/CemeteryReportModuleTest.php4
-rw-r--r--tests/app/Module/ChangeReportModuleTest.php4
-rw-r--r--tests/app/Module/DeathReportModuleTest.php4
-rw-r--r--tests/app/Module/DescendancyReportModuleTest.php4
-rw-r--r--tests/app/Module/FactSourcesReportModuleTest.php4
-rw-r--r--tests/app/Module/FamilyGroupReportModuleTest.php4
-rw-r--r--tests/app/Module/IndividualFamiliesReportModuleTest.php4
-rw-r--r--tests/app/Module/IndividualReportModuleTest.php4
-rw-r--r--tests/app/Module/MarriageReportModuleTest.php4
-rw-r--r--tests/app/Module/MissingFactsReportModuleTest.php4
-rw-r--r--tests/app/Module/OccupationReportModuleTest.php4
-rw-r--r--tests/app/Module/PedigreeReportModuleTest.php4
-rw-r--r--tests/app/Module/RelatedIndividualsReportModuleTest.php4
16 files changed, 64 insertions, 0 deletions
diff --git a/tests/app/Module/AhnentafelReportModuleTest.php b/tests/app/Module/AhnentafelReportModuleTest.php
index 5ba73b6f38..fd9204be7c 100644
--- a/tests/app/Module/AhnentafelReportModuleTest.php
+++ b/tests/app/Module/AhnentafelReportModuleTest.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;
@@ -91,6 +92,9 @@ class AhnentafelReportModuleTest extends \Fisharebest\Webtrees\TestCase
'children' => ['id' => 'on'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();
diff --git a/tests/app/Module/BirthDeathMarriageReportModuleTest.php b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
index 8ef5cfd9a9..af1757e562 100644
--- a/tests/app/Module/BirthDeathMarriageReportModuleTest.php
+++ b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
@@ -19,6 +19,7 @@ namespace Fisharebest\Webtrees\Module;
use Fisharebest\Webtrees\Report\ReportHtml;
use Fisharebest\Webtrees\Report\ReportParserGenerate;
+use Fisharebest\Webtrees\Report\ReportParserSetup;
use Fisharebest\Webtrees\Report\ReportPdf;
use Fisharebest\Webtrees\Tree;
use Fisharebest\Webtrees\Webtrees;
@@ -85,6 +86,9 @@ class BirthDeathMarriageReportModuleTest 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();
diff --git a/tests/app/Module/BirthReportModuleTest.php b/tests/app/Module/BirthReportModuleTest.php
index d4b731228d..a5475e5c0d 100644
--- a/tests/app/Module/BirthReportModuleTest.php
+++ b/tests/app/Module/BirthReportModuleTest.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;
@@ -89,6 +90,9 @@ class BirthReportModuleTest 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();
diff --git a/tests/app/Module/CemeteryReportModuleTest.php b/tests/app/Module/CemeteryReportModuleTest.php
index 9ca83fd41c..9e6e2204c9 100644
--- a/tests/app/Module/CemeteryReportModuleTest.php
+++ b/tests/app/Module/CemeteryReportModuleTest.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 CemeteryReportModuleTest 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();
diff --git a/tests/app/Module/ChangeReportModuleTest.php b/tests/app/Module/ChangeReportModuleTest.php
index d0ce71a2ad..653eecdb8c 100644
--- a/tests/app/Module/ChangeReportModuleTest.php
+++ b/tests/app/Module/ChangeReportModuleTest.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 ChangeReportModuleTest extends \Fisharebest\Webtrees\TestCase
'pageorient' => ['id' => 'landscape'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();
diff --git a/tests/app/Module/DeathReportModuleTest.php b/tests/app/Module/DeathReportModuleTest.php
index bdf01bf6ab..10c7170b6f 100644
--- a/tests/app/Module/DeathReportModuleTest.php
+++ b/tests/app/Module/DeathReportModuleTest.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 DeathReportModuleTest 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();
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();
diff --git a/tests/app/Module/FactSourcesReportModuleTest.php b/tests/app/Module/FactSourcesReportModuleTest.php
index 32b5bded02..778f49080e 100644
--- a/tests/app/Module/FactSourcesReportModuleTest.php
+++ b/tests/app/Module/FactSourcesReportModuleTest.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 FactSourcesReportModuleTest 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();
diff --git a/tests/app/Module/FamilyGroupReportModuleTest.php b/tests/app/Module/FamilyGroupReportModuleTest.php
index 5b286a22b8..ab8522b83e 100644
--- a/tests/app/Module/FamilyGroupReportModuleTest.php
+++ b/tests/app/Module/FamilyGroupReportModuleTest.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 FamilyGroupReportModuleTest 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();
diff --git a/tests/app/Module/IndividualFamiliesReportModuleTest.php b/tests/app/Module/IndividualFamiliesReportModuleTest.php
index 3ea62af057..43181acc50 100644
--- a/tests/app/Module/IndividualFamiliesReportModuleTest.php
+++ b/tests/app/Module/IndividualFamiliesReportModuleTest.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;
@@ -92,6 +93,9 @@ class IndividualFamiliesReportModuleTest extends \Fisharebest\Webtrees\TestCase
'colors' => ['id' => 'on'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();
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();
diff --git a/tests/app/Module/MarriageReportModuleTest.php b/tests/app/Module/MarriageReportModuleTest.php
index ed3f3e658e..1af580b379 100644
--- a/tests/app/Module/MarriageReportModuleTest.php
+++ b/tests/app/Module/MarriageReportModuleTest.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;
@@ -89,6 +90,9 @@ class MarriageReportModuleTest 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();
diff --git a/tests/app/Module/MissingFactsReportModuleTest.php b/tests/app/Module/MissingFactsReportModuleTest.php
index 7fa20574ff..ecb641e9a3 100644
--- a/tests/app/Module/MissingFactsReportModuleTest.php
+++ b/tests/app/Module/MissingFactsReportModuleTest.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;
@@ -101,6 +102,9 @@ class MissingFactsReportModuleTest extends \Fisharebest\Webtrees\TestCase
'freli' => ['id' => 'on'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();
diff --git a/tests/app/Module/OccupationReportModuleTest.php b/tests/app/Module/OccupationReportModuleTest.php
index bfd710a017..0573bf4c3b 100644
--- a/tests/app/Module/OccupationReportModuleTest.php
+++ b/tests/app/Module/OccupationReportModuleTest.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;
@@ -86,6 +87,9 @@ class OccupationReportModuleTest extends \Fisharebest\Webtrees\TestCase
'sortby' => ['id' => 'NAME'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();
diff --git a/tests/app/Module/PedigreeReportModuleTest.php b/tests/app/Module/PedigreeReportModuleTest.php
index d074cb732f..80d6094ea2 100644
--- a/tests/app/Module/PedigreeReportModuleTest.php
+++ b/tests/app/Module/PedigreeReportModuleTest.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;
@@ -86,6 +87,9 @@ class PedigreeReportModuleTest extends \Fisharebest\Webtrees\TestCase
'orientation' => ['id' => 'portrait'],
];
+ $report = new ReportParserSetup($xml);
+ $this->assertIsArray($report->reportProperties());
+
ob_start();
new ReportParserGenerate($xml, new ReportHtml(), $vars, $tree);
$html = ob_get_clean();
diff --git a/tests/app/Module/RelatedIndividualsReportModuleTest.php b/tests/app/Module/RelatedIndividualsReportModuleTest.php
index 8b467f0b57..cf232ea34c 100644
--- a/tests/app/Module/RelatedIndividualsReportModuleTest.php
+++ b/tests/app/Module/RelatedIndividualsReportModuleTest.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;
@@ -92,6 +93,9 @@ class RelatedIndividualsReportModuleTest 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();