diff options
Diffstat (limited to 'tests/app')
17 files changed, 17 insertions, 17 deletions
diff --git a/tests/app/Module/AhnentafelReportModuleTest.php b/tests/app/Module/AhnentafelReportModuleTest.php index ea746f9a8d..f4760bda1b 100644 --- a/tests/app/Module/AhnentafelReportModuleTest.php +++ b/tests/app/Module/AhnentafelReportModuleTest.php @@ -92,7 +92,7 @@ class AhnentafelReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/BirthDeathMarriageReportModuleTest.php b/tests/app/Module/BirthDeathMarriageReportModuleTest.php index f82b42241e..94141ced97 100644 --- a/tests/app/Module/BirthDeathMarriageReportModuleTest.php +++ b/tests/app/Module/BirthDeathMarriageReportModuleTest.php @@ -82,7 +82,7 @@ class BirthDeathMarriageReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/BirthReportModuleTest.php b/tests/app/Module/BirthReportModuleTest.php index 6e3392d519..e7f99ff46d 100644 --- a/tests/app/Module/BirthReportModuleTest.php +++ b/tests/app/Module/BirthReportModuleTest.php @@ -89,7 +89,7 @@ class BirthReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/CemeteryReportModuleTest.php b/tests/app/Module/CemeteryReportModuleTest.php index 6a269f0e27..72b6185fa8 100644 --- a/tests/app/Module/CemeteryReportModuleTest.php +++ b/tests/app/Module/CemeteryReportModuleTest.php @@ -87,7 +87,7 @@ class CemeteryReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/ChangeReportModuleTest.php b/tests/app/Module/ChangeReportModuleTest.php index 17b89c103c..14a7abb936 100644 --- a/tests/app/Module/ChangeReportModuleTest.php +++ b/tests/app/Module/ChangeReportModuleTest.php @@ -90,7 +90,7 @@ class ChangeReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/DeathReportModuleTest.php b/tests/app/Module/DeathReportModuleTest.php index 1e1c391fac..aa3f1d53f1 100644 --- a/tests/app/Module/DeathReportModuleTest.php +++ b/tests/app/Module/DeathReportModuleTest.php @@ -90,7 +90,7 @@ class DeathReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php index d331c8a65e..fb70853fb4 100644 --- a/tests/app/Module/DescendancyReportModuleTest.php +++ b/tests/app/Module/DescendancyReportModuleTest.php @@ -88,7 +88,7 @@ class DescendancyReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/FactSourcesReportModuleTest.php b/tests/app/Module/FactSourcesReportModuleTest.php index c2dd866202..d3bf1eb909 100644 --- a/tests/app/Module/FactSourcesReportModuleTest.php +++ b/tests/app/Module/FactSourcesReportModuleTest.php @@ -87,7 +87,7 @@ class FactSourcesReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/FamilyGroupReportModuleTest.php b/tests/app/Module/FamilyGroupReportModuleTest.php index 309ea815d4..b747bf3be0 100644 --- a/tests/app/Module/FamilyGroupReportModuleTest.php +++ b/tests/app/Module/FamilyGroupReportModuleTest.php @@ -90,7 +90,7 @@ class FamilyGroupReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/IndividualFamiliesReportModuleTest.php b/tests/app/Module/IndividualFamiliesReportModuleTest.php index 1e094d4ac0..f82837662d 100644 --- a/tests/app/Module/IndividualFamiliesReportModuleTest.php +++ b/tests/app/Module/IndividualFamiliesReportModuleTest.php @@ -93,7 +93,7 @@ class IndividualFamiliesReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php index 101f579b27..6618591d04 100644 --- a/tests/app/Module/IndividualReportModuleTest.php +++ b/tests/app/Module/IndividualReportModuleTest.php @@ -87,7 +87,7 @@ class IndividualReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/MarriageReportModuleTest.php b/tests/app/Module/MarriageReportModuleTest.php index 0aec51bd11..06498319c8 100644 --- a/tests/app/Module/MarriageReportModuleTest.php +++ b/tests/app/Module/MarriageReportModuleTest.php @@ -87,7 +87,7 @@ class MarriageReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/MissingFactsReportModuleTest.php b/tests/app/Module/MissingFactsReportModuleTest.php index ca5ce82e51..8392121bec 100644 --- a/tests/app/Module/MissingFactsReportModuleTest.php +++ b/tests/app/Module/MissingFactsReportModuleTest.php @@ -99,7 +99,7 @@ class MissingFactsReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/OccupationReportModuleTest.php b/tests/app/Module/OccupationReportModuleTest.php index b1a8c93085..44acaa622a 100644 --- a/tests/app/Module/OccupationReportModuleTest.php +++ b/tests/app/Module/OccupationReportModuleTest.php @@ -84,7 +84,7 @@ class OccupationReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/PedigreeReportModuleTest.php b/tests/app/Module/PedigreeReportModuleTest.php index 159dc57d0b..fa743aafc8 100644 --- a/tests/app/Module/PedigreeReportModuleTest.php +++ b/tests/app/Module/PedigreeReportModuleTest.php @@ -86,7 +86,7 @@ class PedigreeReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Module/RelatedIndividualsReportModuleTest.php b/tests/app/Module/RelatedIndividualsReportModuleTest.php index 3579e67ee1..7c9a5d78d8 100644 --- a/tests/app/Module/RelatedIndividualsReportModuleTest.php +++ b/tests/app/Module/RelatedIndividualsReportModuleTest.php @@ -90,7 +90,7 @@ class RelatedIndividualsReportModuleTest extends TestCase ]; $report = new ReportParserSetup($xml); - self::assertIsArray($report->reportProperties()); + self::assertNotEmpty($report->reportProperties()); ob_start(); new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree); diff --git a/tests/app/Services/ModuleServiceTest.php b/tests/app/Services/ModuleServiceTest.php index fd76d7cea9..9a4d6882d8 100644 --- a/tests/app/Services/ModuleServiceTest.php +++ b/tests/app/Services/ModuleServiceTest.php @@ -53,7 +53,7 @@ class ModuleServiceTest extends TestCase { $module_service = new ModuleService(); - self::assertNotEmpty($module_service->all()); + self::assertNotEmpty($module_service->all()->all()); } /** |
