summaryrefslogtreecommitdiff
path: root/tests/app/Module
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Module')
-rw-r--r--tests/app/Module/AhnentafelReportModuleTest.php13
-rw-r--r--tests/app/Module/AlbumModuleTest.php4
-rw-r--r--tests/app/Module/AncestorsChartModuleTest.php4
-rw-r--r--tests/app/Module/BirthDeathMarriageReportModuleTest.php12
-rw-r--r--tests/app/Module/BirthReportModuleTest.php12
-rw-r--r--tests/app/Module/CemeteryReportModuleTest.php12
-rw-r--r--tests/app/Module/CensusAssistantModuleTest.php4
-rw-r--r--tests/app/Module/ChangeReportModuleTest.php14
-rw-r--r--tests/app/Module/ChartsBlockModuleTest.php4
-rw-r--r--tests/app/Module/CkeditorModuleTest.php4
-rw-r--r--tests/app/Module/ClippingsCartModuleTest.php4
-rw-r--r--tests/app/Module/CompactTreeChartModuleTest.php4
-rw-r--r--tests/app/Module/DeathReportModuleTest.php12
-rw-r--r--tests/app/Module/DescendancyChartModuleTest.php4
-rw-r--r--tests/app/Module/DescendancyModuleTest.php4
-rw-r--r--tests/app/Module/DescendancyReportModuleTest.php13
-rw-r--r--tests/app/Module/ExtraInformationModuleTest.php4
-rw-r--r--tests/app/Module/FactSourcesReportModuleTest.php12
-rw-r--r--tests/app/Module/FamilyBookChartModuleTest.php4
-rw-r--r--tests/app/Module/FamilyGroupReportModuleTest.php12
-rw-r--r--tests/app/Module/FamilyNavigatorModuleTest.php4
-rw-r--r--tests/app/Module/FamilyTreeFavoritesModuleTest.php4
-rw-r--r--tests/app/Module/FamilyTreeNewsModuleTest.php4
-rw-r--r--tests/app/Module/FamilyTreeStatisticsModuleTest.php4
-rw-r--r--tests/app/Module/FanChartModuleTest.php4
-rw-r--r--tests/app/Module/FrequentlyAskedQuestionsModuleTest.php4
-rw-r--r--tests/app/Module/HourglassChartModuleTest.php4
-rw-r--r--tests/app/Module/HtmlBlockModuleTest.php4
-rw-r--r--tests/app/Module/IndividualFactsTabModuleTest.php4
-rw-r--r--tests/app/Module/IndividualFamiliesReportModuleTest.php13
-rw-r--r--tests/app/Module/IndividualReportModuleTest.php12
-rw-r--r--tests/app/Module/InteractiveTree/TreeViewTest.php4
-rw-r--r--tests/app/Module/InteractiveTreeModuleTest.php4
-rw-r--r--tests/app/Module/LifespansChartModuleTest.php4
-rw-r--r--tests/app/Module/LoggedInUsersModuleTest.php4
-rw-r--r--tests/app/Module/LoginBlockModuleTest.php4
-rw-r--r--tests/app/Module/MarriageReportModuleTest.php12
-rw-r--r--tests/app/Module/MediaTabModuleTest.php4
-rw-r--r--tests/app/Module/MissingFactsReportModuleTest.php12
-rw-r--r--tests/app/Module/ModuleBlockInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleChartInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleConfigInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleMenuInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleReportInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleSidebarInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleTabInterfaceTest.php4
-rw-r--r--tests/app/Module/ModuleThemeInterfaceTest.php4
-rw-r--r--tests/app/Module/NotesTabModuleTest.php4
-rw-r--r--tests/app/Module/OccupationReportModuleTest.php12
-rw-r--r--tests/app/Module/OnThisDayModuleTest.php4
-rw-r--r--tests/app/Module/PedigreeChartModuleTest.php4
-rw-r--r--tests/app/Module/PedigreeReportModuleTest.php12
-rw-r--r--tests/app/Module/RecentChangesModuleTest.php4
-rw-r--r--tests/app/Module/RelatedIndividualsReportModuleTest.php12
-rw-r--r--tests/app/Module/RelationshipsChartModuleTest.php4
-rw-r--r--tests/app/Module/RelativesTabModuleTest.php4
-rw-r--r--tests/app/Module/ResearchTaskModuleTest.php4
-rw-r--r--tests/app/Module/ReviewChangesModuleTest.php4
-rw-r--r--tests/app/Module/SiteMapModuleTest.php4
-rw-r--r--tests/app/Module/SlideShowModuleTest.php4
-rw-r--r--tests/app/Module/SourcesTabModuleTest.php4
-rw-r--r--tests/app/Module/StatisticsChartModuleTest.php4
-rw-r--r--tests/app/Module/StoriesModuleTest.php4
-rw-r--r--tests/app/Module/ThemeSelectModuleTest.php4
-rw-r--r--tests/app/Module/TimelineChartModuleTest.php4
-rw-r--r--tests/app/Module/TopGivenNamesModuleTest.php4
-rw-r--r--tests/app/Module/TopPageViewsModuleTest.php4
-rw-r--r--tests/app/Module/TopSurnamesModuleTest.php4
-rw-r--r--tests/app/Module/UpcomingAnniversariesModuleTest.php4
-rw-r--r--tests/app/Module/UserFavoritesModuleTest.php4
-rw-r--r--tests/app/Module/UserJournalModuleTest.php4
-rw-r--r--tests/app/Module/UserMessagesModuleTest.php4
-rw-r--r--tests/app/Module/UserWelcomeModuleTest.php4
-rw-r--r--tests/app/Module/WelcomeBlockModuleTest.php4
-rw-r--r--tests/app/Module/YahrzeitModuleTest.php4
75 files changed, 215 insertions, 218 deletions
diff --git a/tests/app/Module/AhnentafelReportModuleTest.php b/tests/app/Module/AhnentafelReportModuleTest.php
index 480b4decb1..9c116aef0b 100644
--- a/tests/app/Module/AhnentafelReportModuleTest.php
+++ b/tests/app/Module/AhnentafelReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -30,7 +30,6 @@ use Fisharebest\Webtrees\TestCase;
use Fisharebest\Webtrees\User;
use League\Flysystem\Adapter\NullAdapter;
use League\Flysystem\Filesystem;
-use PHPUnit\Framework\Error\Notice;
use function ob_get_clean;
use function ob_start;
@@ -99,19 +98,19 @@ class AhnentafelReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php
index ba7a77f7cb..0e7a51b835 100644
--- a/tests/app/Module/AlbumModuleTest.php
+++ b/tests/app/Module/AlbumModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class AlbumModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(AlbumModule::class));
+ self::assertTrue(class_exists(AlbumModule::class));
}
}
diff --git a/tests/app/Module/AncestorsChartModuleTest.php b/tests/app/Module/AncestorsChartModuleTest.php
index 56f95ee22a..bb77d0e083 100644
--- a/tests/app/Module/AncestorsChartModuleTest.php
+++ b/tests/app/Module/AncestorsChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class AncestorsChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(AncestorsChartModule::class));
+ self::assertTrue(class_exists(AncestorsChartModule::class));
}
}
diff --git a/tests/app/Module/BirthDeathMarriageReportModuleTest.php b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
index a8bd71a520..194b14542d 100644
--- a/tests/app/Module/BirthDeathMarriageReportModuleTest.php
+++ b/tests/app/Module/BirthDeathMarriageReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -88,18 +88,18 @@ class BirthDeathMarriageReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/BirthReportModuleTest.php b/tests/app/Module/BirthReportModuleTest.php
index faf92e889d..b9d6fda9a4 100644
--- a/tests/app/Module/BirthReportModuleTest.php
+++ b/tests/app/Module/BirthReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -93,18 +93,18 @@ class BirthReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/CemeteryReportModuleTest.php b/tests/app/Module/CemeteryReportModuleTest.php
index 1cc7a2913f..4fd5bc8911 100644
--- a/tests/app/Module/CemeteryReportModuleTest.php
+++ b/tests/app/Module/CemeteryReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -91,18 +91,18 @@ class CemeteryReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php
index 1bdd58f4d9..026a2663b3 100644
--- a/tests/app/Module/CensusAssistantModuleTest.php
+++ b/tests/app/Module/CensusAssistantModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class CensusAssistantModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(CensusAssistantModule::class));
+ self::assertTrue(class_exists(CensusAssistantModule::class));
}
}
diff --git a/tests/app/Module/ChangeReportModuleTest.php b/tests/app/Module/ChangeReportModuleTest.php
index d4eaa448b1..247c023c5b 100644
--- a/tests/app/Module/ChangeReportModuleTest.php
+++ b/tests/app/Module/ChangeReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -85,7 +85,7 @@ class ChangeReportModuleTest extends TestCase
$module = $module_service->findByInterface(ChangeReportModule::class)->first();
$xml = 'resources/' . $module->xmlFilename();
$vars = [
- 'changeRangeStart' => ['id' => Carbon::now()->subMonths(1)->format('d M Y')],
+ 'changeRangeStart' => ['id' => Carbon::now()->subMonth()->format('d M Y')],
'changeRangeEnd' => ['id' => Carbon::now()->format('d M Y')],
'pending' => ['id' => 'yes'],
'sortby' => ['id' => 'CHAN'],
@@ -94,18 +94,18 @@ class ChangeReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/ChartsBlockModuleTest.php b/tests/app/Module/ChartsBlockModuleTest.php
index ef986c285e..3f822a045d 100644
--- a/tests/app/Module/ChartsBlockModuleTest.php
+++ b/tests/app/Module/ChartsBlockModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ChartsBlockModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(ChartsBlockModule::class));
+ self::assertTrue(class_exists(ChartsBlockModule::class));
}
}
diff --git a/tests/app/Module/CkeditorModuleTest.php b/tests/app/Module/CkeditorModuleTest.php
index 83cd3ed956..f3be1fce53 100644
--- a/tests/app/Module/CkeditorModuleTest.php
+++ b/tests/app/Module/CkeditorModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class CkeditorModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(CkeditorModule::class));
+ self::assertTrue(class_exists(CkeditorModule::class));
}
}
diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php
index 5e60f1a5a7..6066bd438c 100644
--- a/tests/app/Module/ClippingsCartModuleTest.php
+++ b/tests/app/Module/ClippingsCartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ClippingsCartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(ClippingsCartModule::class));
+ self::assertTrue(class_exists(ClippingsCartModule::class));
}
}
diff --git a/tests/app/Module/CompactTreeChartModuleTest.php b/tests/app/Module/CompactTreeChartModuleTest.php
index 36b693df7d..1c3101d8c2 100644
--- a/tests/app/Module/CompactTreeChartModuleTest.php
+++ b/tests/app/Module/CompactTreeChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class CompactTreeChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(CompactTreeChartModule::class));
+ self::assertTrue(class_exists(CompactTreeChartModule::class));
}
}
diff --git a/tests/app/Module/DeathReportModuleTest.php b/tests/app/Module/DeathReportModuleTest.php
index bed352f275..d825c2e6a3 100644
--- a/tests/app/Module/DeathReportModuleTest.php
+++ b/tests/app/Module/DeathReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -94,18 +94,18 @@ class DeathReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/DescendancyChartModuleTest.php b/tests/app/Module/DescendancyChartModuleTest.php
index ddde6d3a1b..27cd435947 100644
--- a/tests/app/Module/DescendancyChartModuleTest.php
+++ b/tests/app/Module/DescendancyChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class DescendancyChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(DescendancyChartModule::class));
+ self::assertTrue(class_exists(DescendancyChartModule::class));
}
}
diff --git a/tests/app/Module/DescendancyModuleTest.php b/tests/app/Module/DescendancyModuleTest.php
index 8f5a7a6d3c..958bb1552b 100644
--- a/tests/app/Module/DescendancyModuleTest.php
+++ b/tests/app/Module/DescendancyModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class DescendancyModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(DescendancyModule::class));
+ self::assertTrue(class_exists(DescendancyModule::class));
}
}
diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php
index cc8ca16a6f..e3603c0816 100644
--- a/tests/app/Module/DescendancyReportModuleTest.php
+++ b/tests/app/Module/DescendancyReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -30,7 +30,6 @@ use Fisharebest\Webtrees\TestCase;
use Fisharebest\Webtrees\User;
use League\Flysystem\Adapter\NullAdapter;
use League\Flysystem\Filesystem;
-use PHPUnit\Framework\Error\Notice;
use function ob_get_clean;
use function ob_start;
@@ -95,19 +94,19 @@ class DescendancyReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/ExtraInformationModuleTest.php b/tests/app/Module/ExtraInformationModuleTest.php
index 28abfcca3e..85fe537323 100644
--- a/tests/app/Module/ExtraInformationModuleTest.php
+++ b/tests/app/Module/ExtraInformationModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ExtraInformationModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(IndividualMetadataModule::class));
+ self::assertTrue(class_exists(IndividualMetadataModule::class));
}
}
diff --git a/tests/app/Module/FactSourcesReportModuleTest.php b/tests/app/Module/FactSourcesReportModuleTest.php
index af83100f6b..80b403eb90 100644
--- a/tests/app/Module/FactSourcesReportModuleTest.php
+++ b/tests/app/Module/FactSourcesReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -91,18 +91,18 @@ class FactSourcesReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/FamilyBookChartModuleTest.php b/tests/app/Module/FamilyBookChartModuleTest.php
index 4cdcc41517..1fb4c23304 100644
--- a/tests/app/Module/FamilyBookChartModuleTest.php
+++ b/tests/app/Module/FamilyBookChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FamilyBookChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FamilyBookChartModule::class));
+ self::assertTrue(class_exists(FamilyBookChartModule::class));
}
}
diff --git a/tests/app/Module/FamilyGroupReportModuleTest.php b/tests/app/Module/FamilyGroupReportModuleTest.php
index 3b21e8bbcd..645336d534 100644
--- a/tests/app/Module/FamilyGroupReportModuleTest.php
+++ b/tests/app/Module/FamilyGroupReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -94,18 +94,18 @@ class FamilyGroupReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/FamilyNavigatorModuleTest.php b/tests/app/Module/FamilyNavigatorModuleTest.php
index c6a0609bfe..0332183668 100644
--- a/tests/app/Module/FamilyNavigatorModuleTest.php
+++ b/tests/app/Module/FamilyNavigatorModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FamilyNavigatorModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FamilyNavigatorModule::class));
+ self::assertTrue(class_exists(FamilyNavigatorModule::class));
}
}
diff --git a/tests/app/Module/FamilyTreeFavoritesModuleTest.php b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
index 619a7548c9..66f8f589c4 100644
--- a/tests/app/Module/FamilyTreeFavoritesModuleTest.php
+++ b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FamilyTreeFavoritesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FamilyTreeFavoritesModule::class));
+ self::assertTrue(class_exists(FamilyTreeFavoritesModule::class));
}
}
diff --git a/tests/app/Module/FamilyTreeNewsModuleTest.php b/tests/app/Module/FamilyTreeNewsModuleTest.php
index fc7db5858b..faecc2a863 100644
--- a/tests/app/Module/FamilyTreeNewsModuleTest.php
+++ b/tests/app/Module/FamilyTreeNewsModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FamilyTreeNewsModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FamilyTreeNewsModule::class));
+ self::assertTrue(class_exists(FamilyTreeNewsModule::class));
}
}
diff --git a/tests/app/Module/FamilyTreeStatisticsModuleTest.php b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
index c23af5c915..af5eacf3e7 100644
--- a/tests/app/Module/FamilyTreeStatisticsModuleTest.php
+++ b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FamilyTreeStatisticsModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FamilyTreeStatisticsModule::class));
+ self::assertTrue(class_exists(FamilyTreeStatisticsModule::class));
}
}
diff --git a/tests/app/Module/FanChartModuleTest.php b/tests/app/Module/FanChartModuleTest.php
index 6b2b7a84b3..2de9336b92 100644
--- a/tests/app/Module/FanChartModuleTest.php
+++ b/tests/app/Module/FanChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FanChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FanChartModule::class));
+ self::assertTrue(class_exists(FanChartModule::class));
}
}
diff --git a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
index 4a78ef15d1..3cca998a09 100644
--- a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
+++ b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class FrequentlyAskedQuestionsModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(FrequentlyAskedQuestionsModule::class));
+ self::assertTrue(class_exists(FrequentlyAskedQuestionsModule::class));
}
}
diff --git a/tests/app/Module/HourglassChartModuleTest.php b/tests/app/Module/HourglassChartModuleTest.php
index c815592221..c83e6e47ec 100644
--- a/tests/app/Module/HourglassChartModuleTest.php
+++ b/tests/app/Module/HourglassChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class HourglassChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(HourglassChartModule::class));
+ self::assertTrue(class_exists(HourglassChartModule::class));
}
}
diff --git a/tests/app/Module/HtmlBlockModuleTest.php b/tests/app/Module/HtmlBlockModuleTest.php
index 1d15395c23..2158acaa01 100644
--- a/tests/app/Module/HtmlBlockModuleTest.php
+++ b/tests/app/Module/HtmlBlockModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class HtmlBlockModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(HtmlBlockModule::class));
+ self::assertTrue(class_exists(HtmlBlockModule::class));
}
}
diff --git a/tests/app/Module/IndividualFactsTabModuleTest.php b/tests/app/Module/IndividualFactsTabModuleTest.php
index 7dfe8d8c9f..b679c7499d 100644
--- a/tests/app/Module/IndividualFactsTabModuleTest.php
+++ b/tests/app/Module/IndividualFactsTabModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class IndividualFactsTabModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(IndividualFactsTabModule::class));
+ self::assertTrue(class_exists(IndividualFactsTabModule::class));
}
}
diff --git a/tests/app/Module/IndividualFamiliesReportModuleTest.php b/tests/app/Module/IndividualFamiliesReportModuleTest.php
index 6a3bb50d83..9e0ea8470a 100644
--- a/tests/app/Module/IndividualFamiliesReportModuleTest.php
+++ b/tests/app/Module/IndividualFamiliesReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -30,7 +30,6 @@ use Fisharebest\Webtrees\TestCase;
use Fisharebest\Webtrees\User;
use League\Flysystem\Adapter\NullAdapter;
use League\Flysystem\Filesystem;
-use PHPUnit\Framework\Error\Notice;
use function ob_get_clean;
use function ob_start;
@@ -100,19 +99,19 @@ class IndividualFamiliesReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php
index 8344964d1c..cf815f919b 100644
--- a/tests/app/Module/IndividualReportModuleTest.php
+++ b/tests/app/Module/IndividualReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -93,18 +93,18 @@ class IndividualReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/InteractiveTree/TreeViewTest.php b/tests/app/Module/InteractiveTree/TreeViewTest.php
index 6ffd2a7923..a7c9bff044 100644
--- a/tests/app/Module/InteractiveTree/TreeViewTest.php
+++ b/tests/app/Module/InteractiveTree/TreeViewTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class TreeViewTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(TreeView::class));
+ self::assertTrue(class_exists(TreeView::class));
}
}
diff --git a/tests/app/Module/InteractiveTreeModuleTest.php b/tests/app/Module/InteractiveTreeModuleTest.php
index a9d6a29e0a..9ab8974f15 100644
--- a/tests/app/Module/InteractiveTreeModuleTest.php
+++ b/tests/app/Module/InteractiveTreeModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class InteractiveTreeModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(InteractiveTreeModule::class));
+ self::assertTrue(class_exists(InteractiveTreeModule::class));
}
}
diff --git a/tests/app/Module/LifespansChartModuleTest.php b/tests/app/Module/LifespansChartModuleTest.php
index 8b3c371bc3..343c9ea9df 100644
--- a/tests/app/Module/LifespansChartModuleTest.php
+++ b/tests/app/Module/LifespansChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class LifespansChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(LifespansChartModule::class));
+ self::assertTrue(class_exists(LifespansChartModule::class));
}
}
diff --git a/tests/app/Module/LoggedInUsersModuleTest.php b/tests/app/Module/LoggedInUsersModuleTest.php
index 9957652e2e..668b828fe1 100644
--- a/tests/app/Module/LoggedInUsersModuleTest.php
+++ b/tests/app/Module/LoggedInUsersModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class LoggedInUsersModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(LoggedInUsersModule::class));
+ self::assertTrue(class_exists(LoggedInUsersModule::class));
}
}
diff --git a/tests/app/Module/LoginBlockModuleTest.php b/tests/app/Module/LoginBlockModuleTest.php
index bd4dc4951a..69e0c71bc9 100644
--- a/tests/app/Module/LoginBlockModuleTest.php
+++ b/tests/app/Module/LoginBlockModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class LoginBlockModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(LoginBlockModule::class));
+ self::assertTrue(class_exists(LoginBlockModule::class));
}
}
diff --git a/tests/app/Module/MarriageReportModuleTest.php b/tests/app/Module/MarriageReportModuleTest.php
index 0bd4b3c104..87159dd831 100644
--- a/tests/app/Module/MarriageReportModuleTest.php
+++ b/tests/app/Module/MarriageReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -93,18 +93,18 @@ class MarriageReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/MediaTabModuleTest.php b/tests/app/Module/MediaTabModuleTest.php
index 3d7dd3eb10..10872e9456 100644
--- a/tests/app/Module/MediaTabModuleTest.php
+++ b/tests/app/Module/MediaTabModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class MediaTabModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(MediaTabModule::class));
+ self::assertTrue(class_exists(MediaTabModule::class));
}
}
diff --git a/tests/app/Module/MissingFactsReportModuleTest.php b/tests/app/Module/MissingFactsReportModuleTest.php
index 5970d9ed61..7d9547b187 100644
--- a/tests/app/Module/MissingFactsReportModuleTest.php
+++ b/tests/app/Module/MissingFactsReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -105,18 +105,18 @@ class MissingFactsReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/ModuleBlockInterfaceTest.php b/tests/app/Module/ModuleBlockInterfaceTest.php
index 23c90f6a42..8cd4276fa4 100644
--- a/tests/app/Module/ModuleBlockInterfaceTest.php
+++ b/tests/app/Module/ModuleBlockInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleBlockInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleBlockInterface::class));
+ self::assertTrue(interface_exists(ModuleBlockInterface::class));
}
}
diff --git a/tests/app/Module/ModuleChartInterfaceTest.php b/tests/app/Module/ModuleChartInterfaceTest.php
index 61c978d5ea..e73118a4de 100644
--- a/tests/app/Module/ModuleChartInterfaceTest.php
+++ b/tests/app/Module/ModuleChartInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleChartInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleChartInterface::class));
+ self::assertTrue(interface_exists(ModuleChartInterface::class));
}
}
diff --git a/tests/app/Module/ModuleConfigInterfaceTest.php b/tests/app/Module/ModuleConfigInterfaceTest.php
index b940ff4a49..4676aba5eb 100644
--- a/tests/app/Module/ModuleConfigInterfaceTest.php
+++ b/tests/app/Module/ModuleConfigInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleConfigInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleConfigInterface::class));
+ self::assertTrue(interface_exists(ModuleConfigInterface::class));
}
}
diff --git a/tests/app/Module/ModuleMenuInterfaceTest.php b/tests/app/Module/ModuleMenuInterfaceTest.php
index 0c42ec6642..00e39259ae 100644
--- a/tests/app/Module/ModuleMenuInterfaceTest.php
+++ b/tests/app/Module/ModuleMenuInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleMenuInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleMenuInterface::class));
+ self::assertTrue(interface_exists(ModuleMenuInterface::class));
}
}
diff --git a/tests/app/Module/ModuleReportInterfaceTest.php b/tests/app/Module/ModuleReportInterfaceTest.php
index c9eb474b55..63bec3badb 100644
--- a/tests/app/Module/ModuleReportInterfaceTest.php
+++ b/tests/app/Module/ModuleReportInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleReportInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleReportInterface::class));
+ self::assertTrue(interface_exists(ModuleReportInterface::class));
}
}
diff --git a/tests/app/Module/ModuleSidebarInterfaceTest.php b/tests/app/Module/ModuleSidebarInterfaceTest.php
index 68c0d33646..526044c1c1 100644
--- a/tests/app/Module/ModuleSidebarInterfaceTest.php
+++ b/tests/app/Module/ModuleSidebarInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleSidebarInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleSidebarInterface::class));
+ self::assertTrue(interface_exists(ModuleSidebarInterface::class));
}
}
diff --git a/tests/app/Module/ModuleTabInterfaceTest.php b/tests/app/Module/ModuleTabInterfaceTest.php
index 524eb37f6c..fb2ba9a15e 100644
--- a/tests/app/Module/ModuleTabInterfaceTest.php
+++ b/tests/app/Module/ModuleTabInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleTabInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleTabInterface::class));
+ self::assertTrue(interface_exists(ModuleTabInterface::class));
}
}
diff --git a/tests/app/Module/ModuleThemeInterfaceTest.php b/tests/app/Module/ModuleThemeInterfaceTest.php
index e05c951dbe..98be5a2694 100644
--- a/tests/app/Module/ModuleThemeInterfaceTest.php
+++ b/tests/app/Module/ModuleThemeInterfaceTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ModuleThemeInterfaceTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(interface_exists(ModuleThemeInterface::class));
+ self::assertTrue(interface_exists(ModuleThemeInterface::class));
}
}
diff --git a/tests/app/Module/NotesTabModuleTest.php b/tests/app/Module/NotesTabModuleTest.php
index 5983b18547..c94bb90c47 100644
--- a/tests/app/Module/NotesTabModuleTest.php
+++ b/tests/app/Module/NotesTabModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class NotesTabModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(NotesTabModule::class));
+ self::assertTrue(class_exists(NotesTabModule::class));
}
}
diff --git a/tests/app/Module/OccupationReportModuleTest.php b/tests/app/Module/OccupationReportModuleTest.php
index 42b0f7c338..5af3717062 100644
--- a/tests/app/Module/OccupationReportModuleTest.php
+++ b/tests/app/Module/OccupationReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -90,18 +90,18 @@ class OccupationReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/OnThisDayModuleTest.php b/tests/app/Module/OnThisDayModuleTest.php
index 87832b40a5..c2f10bf2c7 100644
--- a/tests/app/Module/OnThisDayModuleTest.php
+++ b/tests/app/Module/OnThisDayModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class OnThisDayModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(OnThisDayModule::class));
+ self::assertTrue(class_exists(OnThisDayModule::class));
}
}
diff --git a/tests/app/Module/PedigreeChartModuleTest.php b/tests/app/Module/PedigreeChartModuleTest.php
index 2f95c8ae5c..e56dec06dd 100644
--- a/tests/app/Module/PedigreeChartModuleTest.php
+++ b/tests/app/Module/PedigreeChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class PedigreeChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(PedigreeChartModule::class));
+ self::assertTrue(class_exists(PedigreeChartModule::class));
}
}
diff --git a/tests/app/Module/PedigreeReportModuleTest.php b/tests/app/Module/PedigreeReportModuleTest.php
index 7d205d26bb..c8d47412ec 100644
--- a/tests/app/Module/PedigreeReportModuleTest.php
+++ b/tests/app/Module/PedigreeReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -90,18 +90,18 @@ class PedigreeReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/RecentChangesModuleTest.php b/tests/app/Module/RecentChangesModuleTest.php
index ac58ce7fe8..6c7d03b4f6 100644
--- a/tests/app/Module/RecentChangesModuleTest.php
+++ b/tests/app/Module/RecentChangesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class RecentChangesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(RecentChangesModule::class));
+ self::assertTrue(class_exists(RecentChangesModule::class));
}
}
diff --git a/tests/app/Module/RelatedIndividualsReportModuleTest.php b/tests/app/Module/RelatedIndividualsReportModuleTest.php
index 6b99cace8e..f23cc55f46 100644
--- a/tests/app/Module/RelatedIndividualsReportModuleTest.php
+++ b/tests/app/Module/RelatedIndividualsReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -96,18 +96,18 @@ class RelatedIndividualsReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}
diff --git a/tests/app/Module/RelationshipsChartModuleTest.php b/tests/app/Module/RelationshipsChartModuleTest.php
index 90c1f2b151..4d2e93fce7 100644
--- a/tests/app/Module/RelationshipsChartModuleTest.php
+++ b/tests/app/Module/RelationshipsChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class RelationshipsChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(RelationshipsChartModule::class));
+ self::assertTrue(class_exists(RelationshipsChartModule::class));
}
}
diff --git a/tests/app/Module/RelativesTabModuleTest.php b/tests/app/Module/RelativesTabModuleTest.php
index 1958fc348b..8e9652db2c 100644
--- a/tests/app/Module/RelativesTabModuleTest.php
+++ b/tests/app/Module/RelativesTabModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class RelativesTabModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(RelativesTabModule::class));
+ self::assertTrue(class_exists(RelativesTabModule::class));
}
}
diff --git a/tests/app/Module/ResearchTaskModuleTest.php b/tests/app/Module/ResearchTaskModuleTest.php
index 99a8bf9616..a93d2925e1 100644
--- a/tests/app/Module/ResearchTaskModuleTest.php
+++ b/tests/app/Module/ResearchTaskModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ResearchTaskModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(ResearchTaskModule::class));
+ self::assertTrue(class_exists(ResearchTaskModule::class));
}
}
diff --git a/tests/app/Module/ReviewChangesModuleTest.php b/tests/app/Module/ReviewChangesModuleTest.php
index 5d89f23d16..9f747750c5 100644
--- a/tests/app/Module/ReviewChangesModuleTest.php
+++ b/tests/app/Module/ReviewChangesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ReviewChangesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(ReviewChangesModule::class));
+ self::assertTrue(class_exists(ReviewChangesModule::class));
}
}
diff --git a/tests/app/Module/SiteMapModuleTest.php b/tests/app/Module/SiteMapModuleTest.php
index a182be00cd..c13ad656bc 100644
--- a/tests/app/Module/SiteMapModuleTest.php
+++ b/tests/app/Module/SiteMapModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class SiteMapModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(SiteMapModule::class));
+ self::assertTrue(class_exists(SiteMapModule::class));
}
}
diff --git a/tests/app/Module/SlideShowModuleTest.php b/tests/app/Module/SlideShowModuleTest.php
index 2002482b14..7da3209128 100644
--- a/tests/app/Module/SlideShowModuleTest.php
+++ b/tests/app/Module/SlideShowModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class SlideShowModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(SlideShowModule::class));
+ self::assertTrue(class_exists(SlideShowModule::class));
}
}
diff --git a/tests/app/Module/SourcesTabModuleTest.php b/tests/app/Module/SourcesTabModuleTest.php
index f6a0ff92d9..59af570034 100644
--- a/tests/app/Module/SourcesTabModuleTest.php
+++ b/tests/app/Module/SourcesTabModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class SourcesTabModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(SourcesTabModule::class));
+ self::assertTrue(class_exists(SourcesTabModule::class));
}
}
diff --git a/tests/app/Module/StatisticsChartModuleTest.php b/tests/app/Module/StatisticsChartModuleTest.php
index 4704abb1f4..f3ae444963 100644
--- a/tests/app/Module/StatisticsChartModuleTest.php
+++ b/tests/app/Module/StatisticsChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class StatisticsChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(StatisticsChartModule::class));
+ self::assertTrue(class_exists(StatisticsChartModule::class));
}
}
diff --git a/tests/app/Module/StoriesModuleTest.php b/tests/app/Module/StoriesModuleTest.php
index aed9e960c7..47f2b98de0 100644
--- a/tests/app/Module/StoriesModuleTest.php
+++ b/tests/app/Module/StoriesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class StoriesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(StoriesModule::class));
+ self::assertTrue(class_exists(StoriesModule::class));
}
}
diff --git a/tests/app/Module/ThemeSelectModuleTest.php b/tests/app/Module/ThemeSelectModuleTest.php
index 12fe971be7..f23770aab3 100644
--- a/tests/app/Module/ThemeSelectModuleTest.php
+++ b/tests/app/Module/ThemeSelectModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class ThemeSelectModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(ThemeSelectModule::class));
+ self::assertTrue(class_exists(ThemeSelectModule::class));
}
}
diff --git a/tests/app/Module/TimelineChartModuleTest.php b/tests/app/Module/TimelineChartModuleTest.php
index 5504ff4494..a199919a4e 100644
--- a/tests/app/Module/TimelineChartModuleTest.php
+++ b/tests/app/Module/TimelineChartModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class TimelineChartModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(TimelineChartModule::class));
+ self::assertTrue(class_exists(TimelineChartModule::class));
}
}
diff --git a/tests/app/Module/TopGivenNamesModuleTest.php b/tests/app/Module/TopGivenNamesModuleTest.php
index 87d022966a..9767ad1296 100644
--- a/tests/app/Module/TopGivenNamesModuleTest.php
+++ b/tests/app/Module/TopGivenNamesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class TopGivenNamesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(TopGivenNamesModule::class));
+ self::assertTrue(class_exists(TopGivenNamesModule::class));
}
}
diff --git a/tests/app/Module/TopPageViewsModuleTest.php b/tests/app/Module/TopPageViewsModuleTest.php
index a4375fd410..0270dd2901 100644
--- a/tests/app/Module/TopPageViewsModuleTest.php
+++ b/tests/app/Module/TopPageViewsModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class TopPageViewsModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(TopPageViewsModule::class));
+ self::assertTrue(class_exists(TopPageViewsModule::class));
}
}
diff --git a/tests/app/Module/TopSurnamesModuleTest.php b/tests/app/Module/TopSurnamesModuleTest.php
index d70da276ad..e4e4826c88 100644
--- a/tests/app/Module/TopSurnamesModuleTest.php
+++ b/tests/app/Module/TopSurnamesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class TopSurnamesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(TopSurnamesModule::class));
+ self::assertTrue(class_exists(TopSurnamesModule::class));
}
}
diff --git a/tests/app/Module/UpcomingAnniversariesModuleTest.php b/tests/app/Module/UpcomingAnniversariesModuleTest.php
index 8cfb071143..489d22c261 100644
--- a/tests/app/Module/UpcomingAnniversariesModuleTest.php
+++ b/tests/app/Module/UpcomingAnniversariesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class UpcomingAnniversariesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(UpcomingAnniversariesModule::class));
+ self::assertTrue(class_exists(UpcomingAnniversariesModule::class));
}
}
diff --git a/tests/app/Module/UserFavoritesModuleTest.php b/tests/app/Module/UserFavoritesModuleTest.php
index 1cb9feb185..964c7a82ea 100644
--- a/tests/app/Module/UserFavoritesModuleTest.php
+++ b/tests/app/Module/UserFavoritesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class UserFavoritesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(UserFavoritesModule::class));
+ self::assertTrue(class_exists(UserFavoritesModule::class));
}
}
diff --git a/tests/app/Module/UserJournalModuleTest.php b/tests/app/Module/UserJournalModuleTest.php
index 9857e13590..dc8f32112f 100644
--- a/tests/app/Module/UserJournalModuleTest.php
+++ b/tests/app/Module/UserJournalModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class UserJournalModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(UserJournalModule::class));
+ self::assertTrue(class_exists(UserJournalModule::class));
}
}
diff --git a/tests/app/Module/UserMessagesModuleTest.php b/tests/app/Module/UserMessagesModuleTest.php
index e7bb3502f1..43908efaf8 100644
--- a/tests/app/Module/UserMessagesModuleTest.php
+++ b/tests/app/Module/UserMessagesModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class UserMessagesModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(UserMessagesModule::class));
+ self::assertTrue(class_exists(UserMessagesModule::class));
}
}
diff --git a/tests/app/Module/UserWelcomeModuleTest.php b/tests/app/Module/UserWelcomeModuleTest.php
index bb7e3d1a36..03828237f9 100644
--- a/tests/app/Module/UserWelcomeModuleTest.php
+++ b/tests/app/Module/UserWelcomeModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class UserWelcomeModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(UserWelcomeModule::class));
+ self::assertTrue(class_exists(UserWelcomeModule::class));
}
}
diff --git a/tests/app/Module/WelcomeBlockModuleTest.php b/tests/app/Module/WelcomeBlockModuleTest.php
index 1cea70c931..f29ad4aa31 100644
--- a/tests/app/Module/WelcomeBlockModuleTest.php
+++ b/tests/app/Module/WelcomeBlockModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class WelcomeBlockModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(WelcomeBlockModule::class));
+ self::assertTrue(class_exists(WelcomeBlockModule::class));
}
}
diff --git a/tests/app/Module/YahrzeitModuleTest.php b/tests/app/Module/YahrzeitModuleTest.php
index ab007ccbd7..12b9683fb4 100644
--- a/tests/app/Module/YahrzeitModuleTest.php
+++ b/tests/app/Module/YahrzeitModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -33,6 +33,6 @@ class YahrzeitModuleTest extends TestCase
*/
public function testClassExists(): void
{
- $this->assertTrue(class_exists(YahrzeitModule::class));
+ self::assertTrue(class_exists(YahrzeitModule::class));
}
}