summaryrefslogtreecommitdiff
path: root/tests/app/Module
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Module')
-rw-r--r--tests/app/Module/AlbumModuleTest.php3
-rw-r--r--tests/app/Module/AncestorsChartModuleTest.php3
-rw-r--r--tests/app/Module/AustrianHistoricEventsTest.php6
-rw-r--r--tests/app/Module/AustrianPresidentsTest.php4
-rw-r--r--tests/app/Module/BritishMonarchsTest.php4
-rw-r--r--tests/app/Module/BritishPrimeMinistersTest.php4
-rw-r--r--tests/app/Module/BritishSocialHistoryTest.php4
-rw-r--r--tests/app/Module/CensusAssistantModuleTest.php3
-rw-r--r--tests/app/Module/ChartsBlockModuleTest.php3
-rw-r--r--tests/app/Module/CkeditorModuleTest.php3
-rw-r--r--tests/app/Module/ClippingsCartModuleTest.php3
-rw-r--r--tests/app/Module/CompactTreeChartModuleTest.php3
-rw-r--r--tests/app/Module/CzechMonarchsAndPresidentsTest.php4
-rw-r--r--tests/app/Module/DescendancyChartModuleTest.php3
-rw-r--r--tests/app/Module/DescendancyModuleTest.php3
-rw-r--r--tests/app/Module/DutchMonarchsTest.php4
-rw-r--r--tests/app/Module/DutchPrimeMinistersTest.php4
-rw-r--r--tests/app/Module/FamilyBookChartModuleTest.php3
-rw-r--r--tests/app/Module/FamilyNavigatorModuleTest.php3
-rw-r--r--tests/app/Module/FamilyTreeFavoritesModuleTest.php3
-rw-r--r--tests/app/Module/FamilyTreeNewsModuleTest.php3
-rw-r--r--tests/app/Module/FamilyTreeStatisticsModuleTest.php3
-rw-r--r--tests/app/Module/FanChartModuleTest.php3
-rw-r--r--tests/app/Module/FixDuplicateLinksTest.php21
-rw-r--r--tests/app/Module/FrenchHistoryTest.php4
-rw-r--r--tests/app/Module/FrequentlyAskedQuestionsModuleTest.php3
-rw-r--r--tests/app/Module/HourglassChartModuleTest.php3
-rw-r--r--tests/app/Module/HtmlBlockModuleTest.php3
-rw-r--r--tests/app/Module/IndividualFactsTabModuleTest.php3
-rw-r--r--tests/app/Module/IndividualMetadataModuleTest.php3
-rw-r--r--tests/app/Module/InteractiveTree/TreeViewTest.php3
-rw-r--r--tests/app/Module/InteractiveTreeModuleTest.php3
-rw-r--r--tests/app/Module/LanguageArmenianTest.php32
-rw-r--r--tests/app/Module/LifespansChartModuleTest.php3
-rw-r--r--tests/app/Module/LoggedInUsersModuleTest.php3
-rw-r--r--tests/app/Module/LoginBlockModuleTest.php3
-rw-r--r--tests/app/Module/LowCountriesRulersTest.php4
-rw-r--r--tests/app/Module/MapLinkBingTest.php3
-rw-r--r--tests/app/Module/MediaTabModuleTest.php3
-rw-r--r--tests/app/Module/NewZealandPrimeMinistersTest.php4
-rw-r--r--tests/app/Module/NotesTabModuleTest.php3
-rw-r--r--tests/app/Module/OnThisDayModuleTest.php3
-rw-r--r--tests/app/Module/PedigreeChartModuleTest.php3
-rw-r--r--tests/app/Module/RecentChangesModuleTest.php3
-rw-r--r--tests/app/Module/RelationshipsChartModuleTest.php3
-rw-r--r--tests/app/Module/RelativesTabModuleTest.php3
-rw-r--r--tests/app/Module/ResearchTaskModuleTest.php3
-rw-r--r--tests/app/Module/ReviewChangesModuleTest.php3
-rw-r--r--tests/app/Module/SiteMapModuleTest.php3
-rw-r--r--tests/app/Module/SlideShowModuleTest.php3
-rw-r--r--tests/app/Module/SourcesTabModuleTest.php3
-rw-r--r--tests/app/Module/StoriesModuleTest.php3
-rw-r--r--tests/app/Module/ThemeSelectModuleTest.php3
-rw-r--r--tests/app/Module/TimelineChartModuleTest.php3
-rw-r--r--tests/app/Module/TopGivenNamesModuleTest.php3
-rw-r--r--tests/app/Module/TopPageViewsModuleTest.php3
-rw-r--r--tests/app/Module/TopSurnamesModuleTest.php3
-rw-r--r--tests/app/Module/USPresidentsTest.php4
-rw-r--r--tests/app/Module/UserFavoritesModuleTest.php3
-rw-r--r--tests/app/Module/UserJournalModuleTest.php3
-rw-r--r--tests/app/Module/UserMessagesModuleTest.php3
-rw-r--r--tests/app/Module/UserWelcomeModuleTest.php3
-rw-r--r--tests/app/Module/WelcomeBlockModuleTest.php3
-rw-r--r--tests/app/Module/YahrzeitModuleTest.php3
64 files changed, 57 insertions, 196 deletions
diff --git a/tests/app/Module/AlbumModuleTest.php b/tests/app/Module/AlbumModuleTest.php
index 53fce44433..f534d92439 100644
--- a/tests/app/Module/AlbumModuleTest.php
+++ b/tests/app/Module/AlbumModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AlbumModule::class)]
class AlbumModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(AlbumModule::class));
diff --git a/tests/app/Module/AncestorsChartModuleTest.php b/tests/app/Module/AncestorsChartModuleTest.php
index f5d48fc0d2..55baf5f009 100644
--- a/tests/app/Module/AncestorsChartModuleTest.php
+++ b/tests/app/Module/AncestorsChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AncestorsChartModule::class)]
class AncestorsChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(AncestorsChartModule::class));
diff --git a/tests/app/Module/AustrianHistoricEventsTest.php b/tests/app/Module/AustrianHistoricEventsTest.php
index e5f93686c8..29a10583f9 100644
--- a/tests/app/Module/AustrianHistoricEventsTest.php
+++ b/tests/app/Module/AustrianHistoricEventsTest.php
@@ -33,9 +33,9 @@ class AustrianHistoricEventsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'de') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
- self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
+ foreach ($module->historicEventsAll('de') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
+ self::assertTrue($fact->date()->isOK(), 'No date found in:' . $gedcom);
}
}
}
diff --git a/tests/app/Module/AustrianPresidentsTest.php b/tests/app/Module/AustrianPresidentsTest.php
index 71b192655e..bf7650e5a9 100644
--- a/tests/app/Module/AustrianPresidentsTest.php
+++ b/tests/app/Module/AustrianPresidentsTest.php
@@ -33,8 +33,8 @@ class AustrianPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'de') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('de') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/BritishMonarchsTest.php b/tests/app/Module/BritishMonarchsTest.php
index dce8b730d7..0f39180887 100644
--- a/tests/app/Module/BritishMonarchsTest.php
+++ b/tests/app/Module/BritishMonarchsTest.php
@@ -33,8 +33,8 @@ class BritishMonarchsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-GB') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-GB') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/BritishPrimeMinistersTest.php b/tests/app/Module/BritishPrimeMinistersTest.php
index e50086b823..caf21dc74f 100644
--- a/tests/app/Module/BritishPrimeMinistersTest.php
+++ b/tests/app/Module/BritishPrimeMinistersTest.php
@@ -33,8 +33,8 @@ class BritishPrimeMinistersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-GB') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-GB') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/BritishSocialHistoryTest.php b/tests/app/Module/BritishSocialHistoryTest.php
index 1a5ee022be..c1f60bfdae 100644
--- a/tests/app/Module/BritishSocialHistoryTest.php
+++ b/tests/app/Module/BritishSocialHistoryTest.php
@@ -33,8 +33,8 @@ class BritishSocialHistoryTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-GB') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-GB') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/CensusAssistantModuleTest.php b/tests/app/Module/CensusAssistantModuleTest.php
index 81407ebb7d..ea0aca9c82 100644
--- a/tests/app/Module/CensusAssistantModuleTest.php
+++ b/tests/app/Module/CensusAssistantModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CensusAssistantModule::class)]
class CensusAssistantModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(CensusAssistantModule::class));
diff --git a/tests/app/Module/ChartsBlockModuleTest.php b/tests/app/Module/ChartsBlockModuleTest.php
index 342da51e67..fb9b9c4a3d 100644
--- a/tests/app/Module/ChartsBlockModuleTest.php
+++ b/tests/app/Module/ChartsBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ChartsBlockModule::class)]
class ChartsBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ChartsBlockModule::class));
diff --git a/tests/app/Module/CkeditorModuleTest.php b/tests/app/Module/CkeditorModuleTest.php
index 7e7d0da136..9ddd9aa027 100644
--- a/tests/app/Module/CkeditorModuleTest.php
+++ b/tests/app/Module/CkeditorModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CkeditorModule::class)]
class CkeditorModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(CkeditorModule::class));
diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php
index 1a3a39a16b..bf80de385b 100644
--- a/tests/app/Module/ClippingsCartModuleTest.php
+++ b/tests/app/Module/ClippingsCartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ClippingsCartModule::class)]
class ClippingsCartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ClippingsCartModule::class));
diff --git a/tests/app/Module/CompactTreeChartModuleTest.php b/tests/app/Module/CompactTreeChartModuleTest.php
index 1f43cf140e..92d8b0d2c6 100644
--- a/tests/app/Module/CompactTreeChartModuleTest.php
+++ b/tests/app/Module/CompactTreeChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CompactTreeChartModule::class)]
class CompactTreeChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(CompactTreeChartModule::class));
diff --git a/tests/app/Module/CzechMonarchsAndPresidentsTest.php b/tests/app/Module/CzechMonarchsAndPresidentsTest.php
index 7ec33fb14b..d2b064d49a 100644
--- a/tests/app/Module/CzechMonarchsAndPresidentsTest.php
+++ b/tests/app/Module/CzechMonarchsAndPresidentsTest.php
@@ -33,8 +33,8 @@ class CzechMonarchsAndPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'cs') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('cs') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/DescendancyChartModuleTest.php b/tests/app/Module/DescendancyChartModuleTest.php
index 41550fe955..737495ec62 100644
--- a/tests/app/Module/DescendancyChartModuleTest.php
+++ b/tests/app/Module/DescendancyChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DescendancyChartModule::class)]
class DescendancyChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(DescendancyChartModule::class));
diff --git a/tests/app/Module/DescendancyModuleTest.php b/tests/app/Module/DescendancyModuleTest.php
index f13d43eab4..43dc26a209 100644
--- a/tests/app/Module/DescendancyModuleTest.php
+++ b/tests/app/Module/DescendancyModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DescendancyModule::class)]
class DescendancyModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(DescendancyModule::class));
diff --git a/tests/app/Module/DutchMonarchsTest.php b/tests/app/Module/DutchMonarchsTest.php
index c86963f636..077404cc74 100644
--- a/tests/app/Module/DutchMonarchsTest.php
+++ b/tests/app/Module/DutchMonarchsTest.php
@@ -33,8 +33,8 @@ class DutchMonarchsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'nl') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('nl') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/DutchPrimeMinistersTest.php b/tests/app/Module/DutchPrimeMinistersTest.php
index 401543501e..1babef58e5 100644
--- a/tests/app/Module/DutchPrimeMinistersTest.php
+++ b/tests/app/Module/DutchPrimeMinistersTest.php
@@ -33,8 +33,8 @@ class DutchPrimeMinistersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'nl') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('nl') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/FamilyBookChartModuleTest.php b/tests/app/Module/FamilyBookChartModuleTest.php
index b1cee4ead5..fc116bf985 100644
--- a/tests/app/Module/FamilyBookChartModuleTest.php
+++ b/tests/app/Module/FamilyBookChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyBookChartModule::class)]
class FamilyBookChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyBookChartModule::class));
diff --git a/tests/app/Module/FamilyNavigatorModuleTest.php b/tests/app/Module/FamilyNavigatorModuleTest.php
index 468b6bc647..403ff342ec 100644
--- a/tests/app/Module/FamilyNavigatorModuleTest.php
+++ b/tests/app/Module/FamilyNavigatorModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyNavigatorModule::class)]
class FamilyNavigatorModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyNavigatorModule::class));
diff --git a/tests/app/Module/FamilyTreeFavoritesModuleTest.php b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
index 3fd0575059..c8e42c2b8d 100644
--- a/tests/app/Module/FamilyTreeFavoritesModuleTest.php
+++ b/tests/app/Module/FamilyTreeFavoritesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyTreeFavoritesModule::class)]
class FamilyTreeFavoritesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyTreeFavoritesModule::class));
diff --git a/tests/app/Module/FamilyTreeNewsModuleTest.php b/tests/app/Module/FamilyTreeNewsModuleTest.php
index 98eb19aa53..7cf4353527 100644
--- a/tests/app/Module/FamilyTreeNewsModuleTest.php
+++ b/tests/app/Module/FamilyTreeNewsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyTreeNewsModule::class)]
class FamilyTreeNewsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyTreeNewsModule::class));
diff --git a/tests/app/Module/FamilyTreeStatisticsModuleTest.php b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
index eb492933f9..adad15772c 100644
--- a/tests/app/Module/FamilyTreeStatisticsModuleTest.php
+++ b/tests/app/Module/FamilyTreeStatisticsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyTreeStatisticsModule::class)]
class FamilyTreeStatisticsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FamilyTreeStatisticsModule::class));
diff --git a/tests/app/Module/FanChartModuleTest.php b/tests/app/Module/FanChartModuleTest.php
index 45803dc84a..419ea3619d 100644
--- a/tests/app/Module/FanChartModuleTest.php
+++ b/tests/app/Module/FanChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FanChartModule::class)]
class FanChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FanChartModule::class));
diff --git a/tests/app/Module/FixDuplicateLinksTest.php b/tests/app/Module/FixDuplicateLinksTest.php
index 2893a6670f..79c84e7918 100644
--- a/tests/app/Module/FixDuplicateLinksTest.php
+++ b/tests/app/Module/FixDuplicateLinksTest.php
@@ -41,9 +41,6 @@ class FixDuplicateLinksTest extends TestCase
protected bool $restore_session_user = false;
- /**
- * {@inheritdoc}
- */
protected function setUp(): void
{
parent::setUp();
@@ -58,9 +55,6 @@ class FixDuplicateLinksTest extends TestCase
Auth::login($user);
}
- /**
- * {@inheritdoc}
- */
protected function tearDown(): void
{
parent::tearDown();
@@ -72,18 +66,12 @@ class FixDuplicateLinksTest extends TestCase
unset($this->fixDuplicateLinks, $this->tree);
}
- /**
- * Test the module returns a title and a description
- */
public function testModuleMetadata(): void
{
self::assertNotEmpty($this->fixDuplicateLinks->title());
self::assertNotEmpty($this->fixDuplicateLinks->description());
}
- /**
- * Test the trait's recordsToFix method
- */
public function testRecordsToFix(): void
{
$records = $this->fixDuplicateLinks->recordsToFix($this->tree, []);
@@ -96,9 +84,6 @@ class FixDuplicateLinksTest extends TestCase
self::assertCount(0, $records);
}
- /**
- * Test the doesRecordNeedUpdate method on a negative and positive test
- */
public function testDoesRecordNeedUpdate(): void
{
$family = $this->tree->createFamily("0 @@ FAM\n1 HUSB @X1@\n1 CHIL @X2@");
@@ -108,9 +93,6 @@ class FixDuplicateLinksTest extends TestCase
self::assertTrue($this->fixDuplicateLinks->doesRecordNeedUpdate($family, []));
}
- /**
- * Test the preview of the update
- */
public function testPreviewUpdate(): void
{
$family = $this->tree->createFamily("0 @@ FAM\n1 HUSB @X1@\n1 CHIL @X2@\n1 CHIL @X2@");
@@ -121,9 +103,6 @@ class FixDuplicateLinksTest extends TestCase
);
}
- /**
- * Test the update of the record
- */
public function testUpdateRecord(): void
{
$family = $this->tree->createFamily("0 @@ FAM\n1 HUSB @X1@\n1 CHIL @X2@\n1 CHIL @X2@");
diff --git a/tests/app/Module/FrenchHistoryTest.php b/tests/app/Module/FrenchHistoryTest.php
index a4b8de20b3..7e7a9f3d47 100644
--- a/tests/app/Module/FrenchHistoryTest.php
+++ b/tests/app/Module/FrenchHistoryTest.php
@@ -33,8 +33,8 @@ class FrenchHistoryTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'fr') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('fr') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
index 1441fd5f9c..f9f8870659 100644
--- a/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
+++ b/tests/app/Module/FrequentlyAskedQuestionsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FrequentlyAskedQuestionsModule::class)]
class FrequentlyAskedQuestionsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(FrequentlyAskedQuestionsModule::class));
diff --git a/tests/app/Module/HourglassChartModuleTest.php b/tests/app/Module/HourglassChartModuleTest.php
index 059bdd3ff3..c7a3f683e8 100644
--- a/tests/app/Module/HourglassChartModuleTest.php
+++ b/tests/app/Module/HourglassChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HourglassChartModule::class)]
class HourglassChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(HourglassChartModule::class));
diff --git a/tests/app/Module/HtmlBlockModuleTest.php b/tests/app/Module/HtmlBlockModuleTest.php
index 42ea387e76..7b7d29dcec 100644
--- a/tests/app/Module/HtmlBlockModuleTest.php
+++ b/tests/app/Module/HtmlBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HtmlBlockModule::class)]
class HtmlBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(HtmlBlockModule::class));
diff --git a/tests/app/Module/IndividualFactsTabModuleTest.php b/tests/app/Module/IndividualFactsTabModuleTest.php
index e852489b80..ee815513bc 100644
--- a/tests/app/Module/IndividualFactsTabModuleTest.php
+++ b/tests/app/Module/IndividualFactsTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(IndividualFactsTabModule::class)]
class IndividualFactsTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(IndividualFactsTabModule::class));
diff --git a/tests/app/Module/IndividualMetadataModuleTest.php b/tests/app/Module/IndividualMetadataModuleTest.php
index 698a0e7b91..6be5f4578b 100644
--- a/tests/app/Module/IndividualMetadataModuleTest.php
+++ b/tests/app/Module/IndividualMetadataModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(IndividualMetadataModule::class)]
class IndividualMetadataModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(IndividualMetadataModule::class));
diff --git a/tests/app/Module/InteractiveTree/TreeViewTest.php b/tests/app/Module/InteractiveTree/TreeViewTest.php
index b0c4f9d4a3..0542d90aaf 100644
--- a/tests/app/Module/InteractiveTree/TreeViewTest.php
+++ b/tests/app/Module/InteractiveTree/TreeViewTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TreeView::class)]
class TreeViewTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TreeView::class));
diff --git a/tests/app/Module/InteractiveTreeModuleTest.php b/tests/app/Module/InteractiveTreeModuleTest.php
index f9a231fdc8..501caf970c 100644
--- a/tests/app/Module/InteractiveTreeModuleTest.php
+++ b/tests/app/Module/InteractiveTreeModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(InteractiveTreeModule::class)]
class InteractiveTreeModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(InteractiveTreeModule::class));
diff --git a/tests/app/Module/LanguageArmenianTest.php b/tests/app/Module/LanguageArmenianTest.php
new file mode 100644
index 0000000000..0b8b073bc5
--- /dev/null
+++ b/tests/app/Module/LanguageArmenianTest.php
@@ -0,0 +1,32 @@
+<?php
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2025 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
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
+namespace Fisharebest\Webtrees\Module;
+
+use Fisharebest\Webtrees\TestCase;
+use PHPUnit\Framework\Attributes\CoversClass;
+
+#[CoversClass(LanguageArmenian::class)]
+class LanguageArmenianTest extends TestCase
+{
+ public function testClass(): void
+ {
+ self::assertTrue(class_exists(LanguageArmenian::class));
+ }
+}
diff --git a/tests/app/Module/LifespansChartModuleTest.php b/tests/app/Module/LifespansChartModuleTest.php
index a3caba4d84..3d615b27c5 100644
--- a/tests/app/Module/LifespansChartModuleTest.php
+++ b/tests/app/Module/LifespansChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LifespansChartModule::class)]
class LifespansChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(LifespansChartModule::class));
diff --git a/tests/app/Module/LoggedInUsersModuleTest.php b/tests/app/Module/LoggedInUsersModuleTest.php
index 6fe35dc62e..57eaad96bf 100644
--- a/tests/app/Module/LoggedInUsersModuleTest.php
+++ b/tests/app/Module/LoggedInUsersModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LoggedInUsersModule::class)]
class LoggedInUsersModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(LoggedInUsersModule::class));
diff --git a/tests/app/Module/LoginBlockModuleTest.php b/tests/app/Module/LoginBlockModuleTest.php
index 670743c7c5..9fff199c27 100644
--- a/tests/app/Module/LoginBlockModuleTest.php
+++ b/tests/app/Module/LoginBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LoginBlockModule::class)]
class LoginBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(LoginBlockModule::class));
diff --git a/tests/app/Module/LowCountriesRulersTest.php b/tests/app/Module/LowCountriesRulersTest.php
index 50a2151873..7f508b41fe 100644
--- a/tests/app/Module/LowCountriesRulersTest.php
+++ b/tests/app/Module/LowCountriesRulersTest.php
@@ -33,8 +33,8 @@ class LowCountriesRulersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'nl') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('nl') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/MapLinkBingTest.php b/tests/app/Module/MapLinkBingTest.php
index 406545b325..3955962da0 100644
--- a/tests/app/Module/MapLinkBingTest.php
+++ b/tests/app/Module/MapLinkBingTest.php
@@ -41,9 +41,6 @@ class MapLinkBingTest extends TestCase
self::assertSame('', $html);
}
- /**
- * Test that the class exists
- */
public function testLink(): void
{
$module = new MapLinkBing();
diff --git a/tests/app/Module/MediaTabModuleTest.php b/tests/app/Module/MediaTabModuleTest.php
index 4c61125453..8c4c757348 100644
--- a/tests/app/Module/MediaTabModuleTest.php
+++ b/tests/app/Module/MediaTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MediaTabModule::class)]
class MediaTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(MediaTabModule::class));
diff --git a/tests/app/Module/NewZealandPrimeMinistersTest.php b/tests/app/Module/NewZealandPrimeMinistersTest.php
index 43e0efb966..e86c19c2d5 100644
--- a/tests/app/Module/NewZealandPrimeMinistersTest.php
+++ b/tests/app/Module/NewZealandPrimeMinistersTest.php
@@ -33,8 +33,8 @@ class NewZealandPrimeMinistersTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-AU') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-AU') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/NotesTabModuleTest.php b/tests/app/Module/NotesTabModuleTest.php
index 89846eea10..0f498a00a0 100644
--- a/tests/app/Module/NotesTabModuleTest.php
+++ b/tests/app/Module/NotesTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NotesTabModule::class)]
class NotesTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(NotesTabModule::class));
diff --git a/tests/app/Module/OnThisDayModuleTest.php b/tests/app/Module/OnThisDayModuleTest.php
index 60031a3286..6bf0679f09 100644
--- a/tests/app/Module/OnThisDayModuleTest.php
+++ b/tests/app/Module/OnThisDayModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(OnThisDayModule::class)]
class OnThisDayModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(OnThisDayModule::class));
diff --git a/tests/app/Module/PedigreeChartModuleTest.php b/tests/app/Module/PedigreeChartModuleTest.php
index 32d15fce5c..f8be09d2a5 100644
--- a/tests/app/Module/PedigreeChartModuleTest.php
+++ b/tests/app/Module/PedigreeChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PedigreeChartModule::class)]
class PedigreeChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(PedigreeChartModule::class));
diff --git a/tests/app/Module/RecentChangesModuleTest.php b/tests/app/Module/RecentChangesModuleTest.php
index b4ff89b856..5b9f8131d5 100644
--- a/tests/app/Module/RecentChangesModuleTest.php
+++ b/tests/app/Module/RecentChangesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RecentChangesModule::class)]
class RecentChangesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RecentChangesModule::class));
diff --git a/tests/app/Module/RelationshipsChartModuleTest.php b/tests/app/Module/RelationshipsChartModuleTest.php
index 06aea02ef2..f1ddcf007f 100644
--- a/tests/app/Module/RelationshipsChartModuleTest.php
+++ b/tests/app/Module/RelationshipsChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RelationshipsChartModule::class)]
class RelationshipsChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RelationshipsChartModule::class));
diff --git a/tests/app/Module/RelativesTabModuleTest.php b/tests/app/Module/RelativesTabModuleTest.php
index 3c9546c179..efa2988b19 100644
--- a/tests/app/Module/RelativesTabModuleTest.php
+++ b/tests/app/Module/RelativesTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RelativesTabModule::class)]
class RelativesTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(RelativesTabModule::class));
diff --git a/tests/app/Module/ResearchTaskModuleTest.php b/tests/app/Module/ResearchTaskModuleTest.php
index f83664b932..11ab42ee76 100644
--- a/tests/app/Module/ResearchTaskModuleTest.php
+++ b/tests/app/Module/ResearchTaskModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskModule::class)]
class ResearchTaskModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ResearchTaskModule::class));
diff --git a/tests/app/Module/ReviewChangesModuleTest.php b/tests/app/Module/ReviewChangesModuleTest.php
index 8a73db7430..a79d63c387 100644
--- a/tests/app/Module/ReviewChangesModuleTest.php
+++ b/tests/app/Module/ReviewChangesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ReviewChangesModule::class)]
class ReviewChangesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ReviewChangesModule::class));
diff --git a/tests/app/Module/SiteMapModuleTest.php b/tests/app/Module/SiteMapModuleTest.php
index 9d6d7c9431..4b5dd56393 100644
--- a/tests/app/Module/SiteMapModuleTest.php
+++ b/tests/app/Module/SiteMapModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SiteMapModule::class)]
class SiteMapModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(SiteMapModule::class));
diff --git a/tests/app/Module/SlideShowModuleTest.php b/tests/app/Module/SlideShowModuleTest.php
index 25ed1b6049..f5f2c83cd9 100644
--- a/tests/app/Module/SlideShowModuleTest.php
+++ b/tests/app/Module/SlideShowModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SlideShowModule::class)]
class SlideShowModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(SlideShowModule::class));
diff --git a/tests/app/Module/SourcesTabModuleTest.php b/tests/app/Module/SourcesTabModuleTest.php
index a234921d89..bce97e5b00 100644
--- a/tests/app/Module/SourcesTabModuleTest.php
+++ b/tests/app/Module/SourcesTabModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourcesTabModule::class)]
class SourcesTabModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(SourcesTabModule::class));
diff --git a/tests/app/Module/StoriesModuleTest.php b/tests/app/Module/StoriesModuleTest.php
index e496e46b69..71a88b89ed 100644
--- a/tests/app/Module/StoriesModuleTest.php
+++ b/tests/app/Module/StoriesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(StoriesModule::class)]
class StoriesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(StoriesModule::class));
diff --git a/tests/app/Module/ThemeSelectModuleTest.php b/tests/app/Module/ThemeSelectModuleTest.php
index dc4ffba9b7..cf01079f3d 100644
--- a/tests/app/Module/ThemeSelectModuleTest.php
+++ b/tests/app/Module/ThemeSelectModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ThemeSelectModule::class)]
class ThemeSelectModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(ThemeSelectModule::class));
diff --git a/tests/app/Module/TimelineChartModuleTest.php b/tests/app/Module/TimelineChartModuleTest.php
index ca083052b7..15258a7cae 100644
--- a/tests/app/Module/TimelineChartModuleTest.php
+++ b/tests/app/Module/TimelineChartModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TimelineChartModule::class)]
class TimelineChartModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TimelineChartModule::class));
diff --git a/tests/app/Module/TopGivenNamesModuleTest.php b/tests/app/Module/TopGivenNamesModuleTest.php
index 3749d55e2d..3caf413d18 100644
--- a/tests/app/Module/TopGivenNamesModuleTest.php
+++ b/tests/app/Module/TopGivenNamesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TopGivenNamesModule::class)]
class TopGivenNamesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TopGivenNamesModule::class));
diff --git a/tests/app/Module/TopPageViewsModuleTest.php b/tests/app/Module/TopPageViewsModuleTest.php
index 1ac56b84ee..b0dea5d949 100644
--- a/tests/app/Module/TopPageViewsModuleTest.php
+++ b/tests/app/Module/TopPageViewsModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TopPageViewsModule::class)]
class TopPageViewsModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TopPageViewsModule::class));
diff --git a/tests/app/Module/TopSurnamesModuleTest.php b/tests/app/Module/TopSurnamesModuleTest.php
index 96d280b1ed..77928b213c 100644
--- a/tests/app/Module/TopSurnamesModuleTest.php
+++ b/tests/app/Module/TopSurnamesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TopSurnamesModule::class)]
class TopSurnamesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(TopSurnamesModule::class));
diff --git a/tests/app/Module/USPresidentsTest.php b/tests/app/Module/USPresidentsTest.php
index 08b5c417bd..ebf7b92d2b 100644
--- a/tests/app/Module/USPresidentsTest.php
+++ b/tests/app/Module/USPresidentsTest.php
@@ -33,8 +33,8 @@ class USPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'en-US') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('en-US') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}
diff --git a/tests/app/Module/UserFavoritesModuleTest.php b/tests/app/Module/UserFavoritesModuleTest.php
index f5809e7587..c2db2667c3 100644
--- a/tests/app/Module/UserFavoritesModuleTest.php
+++ b/tests/app/Module/UserFavoritesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserFavoritesModule::class)]
class UserFavoritesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserFavoritesModule::class));
diff --git a/tests/app/Module/UserJournalModuleTest.php b/tests/app/Module/UserJournalModuleTest.php
index d84b3c412f..ebb41b4e40 100644
--- a/tests/app/Module/UserJournalModuleTest.php
+++ b/tests/app/Module/UserJournalModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserJournalModule::class)]
class UserJournalModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserJournalModule::class));
diff --git a/tests/app/Module/UserMessagesModuleTest.php b/tests/app/Module/UserMessagesModuleTest.php
index 620b7900f7..f580ca6881 100644
--- a/tests/app/Module/UserMessagesModuleTest.php
+++ b/tests/app/Module/UserMessagesModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserMessagesModule::class)]
class UserMessagesModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserMessagesModule::class));
diff --git a/tests/app/Module/UserWelcomeModuleTest.php b/tests/app/Module/UserWelcomeModuleTest.php
index dd9064f37c..9f92aa9771 100644
--- a/tests/app/Module/UserWelcomeModuleTest.php
+++ b/tests/app/Module/UserWelcomeModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserWelcomeModule::class)]
class UserWelcomeModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(UserWelcomeModule::class));
diff --git a/tests/app/Module/WelcomeBlockModuleTest.php b/tests/app/Module/WelcomeBlockModuleTest.php
index 45ebe95a49..09a7bdd4bc 100644
--- a/tests/app/Module/WelcomeBlockModuleTest.php
+++ b/tests/app/Module/WelcomeBlockModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(WelcomeBlockModule::class)]
class WelcomeBlockModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(WelcomeBlockModule::class));
diff --git a/tests/app/Module/YahrzeitModuleTest.php b/tests/app/Module/YahrzeitModuleTest.php
index ff246200cf..e50d304acc 100644
--- a/tests/app/Module/YahrzeitModuleTest.php
+++ b/tests/app/Module/YahrzeitModuleTest.php
@@ -25,9 +25,6 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(YahrzeitModule::class)]
class YahrzeitModuleTest extends TestCase
{
- /**
- * Test that the class exists
- */
public function testClassExists(): void
{
self::assertTrue(class_exists(YahrzeitModule::class));