summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-02-19 10:31:03 +0000
committerGreg Roach <greg@subaqua.co.uk>2025-02-20 11:52:08 +0000
commit5aa89145798e701ba33c061d10bafe3922d42bef (patch)
tree238ba1b64e5398cc249d4aeb6c5d3ec19a28a0d7 /tests
parent7ed595cddf45a30d37579fdfe74fab2ec7be706c (diff)
downloadwebtrees-5aa89145798e701ba33c061d10bafe3922d42bef.tar.gz
webtrees-5aa89145798e701ba33c061d10bafe3922d42bef.tar.bz2
webtrees-5aa89145798e701ba33c061d10bafe3922d42bef.zip
Code Style
Diffstat (limited to 'tests')
-rw-r--r--tests/TestCase.php8
-rw-r--r--tests/app/AuthTest.php1
-rw-r--r--tests/app/CacheTest.php1
-rw-r--r--tests/app/ColorGeneratorTest.php1
-rw-r--r--tests/app/DefaultUserTest.php1
-rw-r--r--tests/app/Elements/AbstractEventElementTestCase.php34
-rw-r--r--tests/app/Elements/AbstractXrefElementTestCase.php34
-rw-r--r--tests/app/Elements/AddressCityTest.php4
-rw-r--r--tests/app/Elements/AddressCountryTest.php4
-rw-r--r--tests/app/Elements/AddressEmailTest.php4
-rw-r--r--tests/app/Elements/AddressFaxTest.php4
-rw-r--r--tests/app/Elements/AddressLine1Test.php4
-rw-r--r--tests/app/Elements/AddressLine2Test.php4
-rw-r--r--tests/app/Elements/AddressLine3Test.php4
-rw-r--r--tests/app/Elements/AddressLineTest.php4
-rw-r--r--tests/app/Elements/AddressPostalCodeTest.php4
-rw-r--r--tests/app/Elements/AddressStateTest.php4
-rw-r--r--tests/app/Elements/AddressWebPageTest.php4
-rw-r--r--tests/app/Elements/AdoptedByWhichParentTest.php4
-rw-r--r--tests/app/Elements/AdoptionTest.php4
-rw-r--r--tests/app/Elements/AdultChristeningTest.php4
-rw-r--r--tests/app/Elements/AgeAtEventTest.php4
-rw-r--r--tests/app/Elements/AncestralFileNumberTest.php4
-rw-r--r--tests/app/Elements/AnnulmentTest.php4
-rw-r--r--tests/app/Elements/ApprovedSystemIdTest.php4
-rw-r--r--tests/app/Elements/AttributeDescriptorTest.php4
-rw-r--r--tests/app/Elements/AutomatedRecordIdTest.php4
-rw-r--r--tests/app/Elements/BaptismTest.php4
-rw-r--r--tests/app/Elements/BarMitzvahTest.php4
-rw-r--r--tests/app/Elements/BasMitzvahTest.php4
-rw-r--r--tests/app/Elements/BirthTest.php4
-rw-r--r--tests/app/Elements/BlessingTest.php4
-rw-r--r--tests/app/Elements/BurialTest.php4
-rw-r--r--tests/app/Elements/CasteNameTest.php4
-rw-r--r--tests/app/Elements/CauseOfEventTest.php4
-rw-r--r--tests/app/Elements/CensusTest.php4
-rw-r--r--tests/app/Elements/CertaintyAssessmentTest.php4
-rw-r--r--tests/app/Elements/ChangeDateTest.php4
-rw-r--r--tests/app/Elements/ChangeTest.php4
-rw-r--r--tests/app/Elements/CharacterSetTest.php4
-rw-r--r--tests/app/Elements/ChildLinkageStatusTest.php4
-rw-r--r--tests/app/Elements/ChristeningTest.php4
-rw-r--r--tests/app/Elements/ConfirmationTest.php4
-rw-r--r--tests/app/Elements/ContentDescriptionTest.php4
-rw-r--r--tests/app/Elements/CopyrightFileTest.php4
-rw-r--r--tests/app/Elements/CopyrightSourceDataTest.php4
-rw-r--r--tests/app/Elements/CountOfChildrenTest.php4
-rw-r--r--tests/app/Elements/CountOfMarriagesTest.php4
-rw-r--r--tests/app/Elements/CremationTest.php4
-rw-r--r--tests/app/Elements/CustomElementTest.php4
-rw-r--r--tests/app/Elements/CustomEventTest.php4
-rw-r--r--tests/app/Elements/CustomFactTest.php4
-rw-r--r--tests/app/Elements/DateLdsOrdTest.php4
-rw-r--r--tests/app/Elements/DateValueTest.php4
-rw-r--r--tests/app/Elements/DeathTest.php4
-rw-r--r--tests/app/Elements/DemographicDataTypeTest.php4
-rw-r--r--tests/app/Elements/DescriptiveTitleTest.php4
-rw-r--r--tests/app/Elements/DivorceFiledTest.php4
-rw-r--r--tests/app/Elements/DivorceTest.php4
-rw-r--r--tests/app/Elements/EmigrationTest.php4
-rw-r--r--tests/app/Elements/EmptyElementTest.php4
-rw-r--r--tests/app/Elements/EngagementTest.php4
-rw-r--r--tests/app/Elements/EventAttributeTypeTest.php4
-rw-r--r--tests/app/Elements/EventOrFactClassificationTest.php4
-rw-r--r--tests/app/Elements/EventTypeCitedFromTest.php4
-rw-r--r--tests/app/Elements/EventsRecordedTest.php4
-rw-r--r--tests/app/Elements/FamilyRecordTest.php4
-rw-r--r--tests/app/Elements/FamilySearchFamilyTreeIdTest.php4
-rw-r--r--tests/app/Elements/FamilyStatusTextTest.php4
-rw-r--r--tests/app/Elements/FileNameTest.php4
-rw-r--r--tests/app/Elements/FirstCommunionTest.php4
-rw-r--r--tests/app/Elements/FormTest.php4
-rw-r--r--tests/app/Elements/GedcomElementTest.php4
-rw-r--r--tests/app/Elements/GenerationsOfAncestorsTest.php4
-rw-r--r--tests/app/Elements/GenerationsOfDescendantsTest.php4
-rw-r--r--tests/app/Elements/GovIdTypeTest.php4
-rw-r--r--tests/app/Elements/GovIdentifierTest.php4
-rw-r--r--tests/app/Elements/GraduationTest.php4
-rw-r--r--tests/app/Elements/HeaderRecordTest.php4
-rw-r--r--tests/app/Elements/HierarchicalRelationshipTest.php4
-rw-r--r--tests/app/Elements/ImmigrationTest.php4
-rw-r--r--tests/app/Elements/IndividualRecordTest.php4
-rw-r--r--tests/app/Elements/LanguageIdTest.php4
-rw-r--r--tests/app/Elements/LdsBaptismDateStatusTest.php4
-rw-r--r--tests/app/Elements/LdsBaptismTest.php4
-rw-r--r--tests/app/Elements/LdsChildSealingDateStatusTest.php4
-rw-r--r--tests/app/Elements/LdsChildSealingTest.php4
-rw-r--r--tests/app/Elements/LdsConfirmationTest.php4
-rw-r--r--tests/app/Elements/LdsEndowmentDateStatusTest.php4
-rw-r--r--tests/app/Elements/LdsEndowmentTest.php4
-rw-r--r--tests/app/Elements/LdsSpouseSealingDateStatusTest.php4
-rw-r--r--tests/app/Elements/LdsSpouseSealingTest.php4
-rw-r--r--tests/app/Elements/LocationRecordTest.php4
-rw-r--r--tests/app/Elements/MaidenheadLocatorTest.php4
-rw-r--r--tests/app/Elements/MarriageBannsTest.php4
-rw-r--r--tests/app/Elements/MarriageContractTest.php4
-rw-r--r--tests/app/Elements/MarriageLicenceTest.php4
-rw-r--r--tests/app/Elements/MarriageSettlementTest.php4
-rw-r--r--tests/app/Elements/MarriageTest.php4
-rw-r--r--tests/app/Elements/MarriageTypeTest.php4
-rw-r--r--tests/app/Elements/MediaRecordTest.php4
-rw-r--r--tests/app/Elements/MultimediaFileReferenceTest.php4
-rw-r--r--tests/app/Elements/MultimediaFormatTest.php4
-rw-r--r--tests/app/Elements/NameOfBusinessTest.php4
-rw-r--r--tests/app/Elements/NameOfFamilyFileTest.php4
-rw-r--r--tests/app/Elements/NameOfProductTest.php4
-rw-r--r--tests/app/Elements/NameOfRepositoryTest.php4
-rw-r--r--tests/app/Elements/NameOfSourceDataTest.php4
-rw-r--r--tests/app/Elements/NamePersonalTest.php4
-rw-r--r--tests/app/Elements/NamePhoneticVariationTest.php4
-rw-r--r--tests/app/Elements/NamePieceGivenTest.php4
-rw-r--r--tests/app/Elements/NamePieceNicknameTest.php4
-rw-r--r--tests/app/Elements/NamePiecePrefixTest.php4
-rw-r--r--tests/app/Elements/NamePieceSuffixTest.php4
-rw-r--r--tests/app/Elements/NamePieceSurnamePrefixTest.php4
-rw-r--r--tests/app/Elements/NamePieceSurnameTest.php4
-rw-r--r--tests/app/Elements/NameRomanizedVariationTest.php4
-rw-r--r--tests/app/Elements/NameTypeTest.php4
-rw-r--r--tests/app/Elements/NationalIdNumberTest.php4
-rw-r--r--tests/app/Elements/NationalOrTribalOriginTest.php4
-rw-r--r--tests/app/Elements/NaturalizationTest.php4
-rw-r--r--tests/app/Elements/NobilityTypeTitleTest.php4
-rw-r--r--tests/app/Elements/NoteRecordTest.php4
-rw-r--r--tests/app/Elements/NoteStructureTest.php4
-rw-r--r--tests/app/Elements/OccupationTest.php4
-rw-r--r--tests/app/Elements/OrdinanceProcessFlagTest.php4
-rw-r--r--tests/app/Elements/OrdinationTest.php4
-rw-r--r--tests/app/Elements/PafUidTest.php4
-rw-r--r--tests/app/Elements/PedigreeLinkageTypeTest.php4
-rw-r--r--tests/app/Elements/PermanentRecordFileNumberTest.php4
-rw-r--r--tests/app/Elements/PhoneNumberTest.php4
-rw-r--r--tests/app/Elements/PhoneticTypeTest.php4
-rw-r--r--tests/app/Elements/PhysicalDescriptionTest.php4
-rw-r--r--tests/app/Elements/PlaceHierarchyTest.php4
-rw-r--r--tests/app/Elements/PlaceLatitudeTest.php4
-rw-r--r--tests/app/Elements/PlaceLivingOrdinanceTest.php4
-rw-r--r--tests/app/Elements/PlaceLongtitudeTest.php4
-rw-r--r--tests/app/Elements/PlaceNameTest.php4
-rw-r--r--tests/app/Elements/PlacePhoneticVariationTest.php4
-rw-r--r--tests/app/Elements/PlaceRomanizedVariationTest.php4
-rw-r--r--tests/app/Elements/PossessionsTest.php4
-rw-r--r--tests/app/Elements/ProbateTest.php4
-rw-r--r--tests/app/Elements/PublicationDateTest.php4
-rw-r--r--tests/app/Elements/ReceivingSystemNameTest.php4
-rw-r--r--tests/app/Elements/RelationIsDescriptorTest.php4
-rw-r--r--tests/app/Elements/ReligiousAffiliationTest.php4
-rw-r--r--tests/app/Elements/RepositoryRecordTest.php4
-rw-r--r--tests/app/Elements/ResearchTaskPriorityTest.php4
-rw-r--r--tests/app/Elements/ResearchTaskStatusTest.php4
-rw-r--r--tests/app/Elements/ResearchTaskTest.php4
-rw-r--r--tests/app/Elements/ResearchTaskTypeTest.php4
-rw-r--r--tests/app/Elements/ResidenceTest.php4
-rw-r--r--tests/app/Elements/ResponsibleAgencyTest.php4
-rw-r--r--tests/app/Elements/RestrictionNoticeTest.php4
-rw-r--r--tests/app/Elements/RetirementTest.php4
-rw-r--r--tests/app/Elements/RoleInEventTest.php4
-rw-r--r--tests/app/Elements/RomanizedTypeTest.php4
-rw-r--r--tests/app/Elements/ScholasticAchievementTest.php4
-rw-r--r--tests/app/Elements/SexValueTest.php4
-rw-r--r--tests/app/Elements/SexXValueTest.php4
-rw-r--r--tests/app/Elements/SocialSecurityNumberTest.php4
-rw-r--r--tests/app/Elements/SourceCallNumberTest.php4
-rw-r--r--tests/app/Elements/SourceDataTest.php4
-rw-r--r--tests/app/Elements/SourceDescriptiveTitleTest.php4
-rw-r--r--tests/app/Elements/SourceFiledByEntryTest.php4
-rw-r--r--tests/app/Elements/SourceJurisdictionPlaceTest.php4
-rw-r--r--tests/app/Elements/SourceMediaTypeTest.php4
-rw-r--r--tests/app/Elements/SourceOriginatorTest.php4
-rw-r--r--tests/app/Elements/SourcePublicationFactsTest.php4
-rw-r--r--tests/app/Elements/SourceRecordTest.php4
-rw-r--r--tests/app/Elements/SubmissionRecordTest.php4
-rw-r--r--tests/app/Elements/SubmitterNameTest.php4
-rw-r--r--tests/app/Elements/SubmitterRecordTest.php4
-rw-r--r--tests/app/Elements/SubmitterRegisteredRfnTest.php4
-rw-r--r--tests/app/Elements/SubmitterTextTest.php4
-rw-r--r--tests/app/Elements/TempleCodeTest.php4
-rw-r--r--tests/app/Elements/TextFromSourceTest.php4
-rw-r--r--tests/app/Elements/TimeValueTest.php4
-rw-r--r--tests/app/Elements/TransmissionDateTest.php4
-rw-r--r--tests/app/Elements/UidTest.php4
-rw-r--r--tests/app/Elements/UnknownElementTest.php4
-rw-r--r--tests/app/Elements/UserReferenceNumberTest.php4
-rw-r--r--tests/app/Elements/UserReferenceTypeTest.php4
-rw-r--r--tests/app/Elements/VersionNumberTest.php4
-rw-r--r--tests/app/Elements/WebtreesUserTest.php4
-rw-r--r--tests/app/Elements/WhereWithinSourceTest.php4
-rw-r--r--tests/app/Elements/WillTest.php4
-rw-r--r--tests/app/Factories/EncodingFactoryTest.php1
-rw-r--r--tests/app/GedcomTest.php1
-rw-r--r--tests/app/GuestUserTest.php1
-rw-r--r--tests/app/HeaderTest.php1
-rw-r--r--tests/app/HtmlTest.php1
-rw-r--r--tests/app/Http/Middleware/HandleExceptionsTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectModulePhpTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php1
-rw-r--r--tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php1
-rw-r--r--tests/app/LocationTest.php1
-rw-r--r--tests/app/MediaFileTest.php1
-rw-r--r--tests/app/MimeTest.php1
-rw-r--r--tests/app/Module/FixDuplicateLinksTest.php1
-rw-r--r--tests/app/NoReplyUserTest.php1
-rw-r--r--tests/app/PlaceLocationTest.php1
-rw-r--r--tests/app/RegistryTest.php1
-rw-r--r--tests/app/RelationshipTest.php1
-rw-r--r--tests/app/Services/GedcomEditServiceTest.php1
-rw-r--r--tests/app/Services/ModuleServiceTest.php1
-rw-r--r--tests/app/Services/SearchServiceTest.php1
-rw-r--r--tests/app/SessionDatabaseHandlerTest.php1
-rw-r--r--tests/app/SessionTest.php1
-rw-r--r--tests/app/SharedNoteTest.php1
-rw-r--r--tests/app/SiteUserTest.php1
-rw-r--r--tests/app/StatisticsTest.php1
-rw-r--r--tests/app/SubmissionTest.php1
-rw-r--r--tests/app/SubmitterTest.php1
-rw-r--r--tests/app/TreeUserTest.php1
-rw-r--r--tests/app/UserTest.php1
-rw-r--r--tests/app/ViewTest.php1
-rw-r--r--tests/feature/RelationshipNamesTest.php1
222 files changed, 364 insertions, 471 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 5d8f3873bf..0be48040b7 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -141,18 +141,18 @@ class TestCase extends \PHPUnit\Framework\TestCase
(new WebRoutes())->load($router_container->getMap());
Registry::container()->set(RouterContainer::class, $router_container);
+ I18N::init('en-US', true);
+
if (static::$uses_database) {
self::createTestDatabase();
+ I18N::init('en-US');
+
// This is normally set in middleware.
(new Gedcom())->registerTags(Registry::elementFactory(), true);
// Boot modules
(new ModuleService())->bootModules(new WebtreesTheme());
-
- I18N::init('en-US');
- } else {
- I18N::init('en-US', true);
}
self::createRequest();
diff --git a/tests/app/AuthTest.php b/tests/app/AuthTest.php
index 4a7305d526..fecabd841e 100644
--- a/tests/app/AuthTest.php
+++ b/tests/app/AuthTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Auth::class)]
diff --git a/tests/app/CacheTest.php b/tests/app/CacheTest.php
index 80669bdef2..d3b327dd95 100644
--- a/tests/app/CacheTest.php
+++ b/tests/app/CacheTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Cache::class)]
diff --git a/tests/app/ColorGeneratorTest.php b/tests/app/ColorGeneratorTest.php
index fdfb5add93..3bce219bbe 100644
--- a/tests/app/ColorGeneratorTest.php
+++ b/tests/app/ColorGeneratorTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ColorGenerator::class)]
diff --git a/tests/app/DefaultUserTest.php b/tests/app/DefaultUserTest.php
index a318ba5301..4cbb14c8ba 100644
--- a/tests/app/DefaultUserTest.php
+++ b/tests/app/DefaultUserTest.php
@@ -20,7 +20,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
use Fisharebest\Webtrees\Contracts\CacheFactoryInterface;
-use Fisharebest\Webtrees\Contracts\UserInterface;
use PHPUnit\Framework\Attributes\CoversClass;
use Symfony\Component\Cache\Adapter\NullAdapter;
diff --git a/tests/app/Elements/AbstractEventElementTestCase.php b/tests/app/Elements/AbstractEventElementTestCase.php
deleted file mode 100644
index e021bd10b8..0000000000
--- a/tests/app/Elements/AbstractEventElementTestCase.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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\Elements;
-
-use PHPUnit\Framework\Attributes\CoversClass;
-
-#[CoversClass(AbstractElement::class)]
-#[CoversClass(AbstractEventElement::class)]
-class AbstractEventElementTestCase extends AbstractElementTestCase
-{
- public static function setUpBeforeClass(): void
- {
- parent::setUpBeforeClass();
-
- self::$element = new AbstractEventElement('label');
- }
-}
diff --git a/tests/app/Elements/AbstractXrefElementTestCase.php b/tests/app/Elements/AbstractXrefElementTestCase.php
deleted file mode 100644
index 6f9e299eed..0000000000
--- a/tests/app/Elements/AbstractXrefElementTestCase.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?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\Elements;
-
-use PHPUnit\Framework\Attributes\CoversClass;
-
-#[CoversClass(AbstractElement::class)]
-#[CoversClass(AbstractXrefElement::class)]
-class AbstractXrefElementTestCase extends AbstractElementTestCase
-{
- public static function setUpBeforeClass(): void
- {
- parent::setUpBeforeClass();
-
- self::$element = new AbstractXrefElement('label');
- }
-}
diff --git a/tests/app/Elements/AddressCityTest.php b/tests/app/Elements/AddressCityTest.php
index a59fdc6748..16c84dcebd 100644
--- a/tests/app/Elements/AddressCityTest.php
+++ b/tests/app/Elements/AddressCityTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressCity::class)]
class AddressCityTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressCity('label');
}
diff --git a/tests/app/Elements/AddressCountryTest.php b/tests/app/Elements/AddressCountryTest.php
index 0dd36c5756..fe8ac03125 100644
--- a/tests/app/Elements/AddressCountryTest.php
+++ b/tests/app/Elements/AddressCountryTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressCountry::class)]
class AddressCountryTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressCountry('label');
}
diff --git a/tests/app/Elements/AddressEmailTest.php b/tests/app/Elements/AddressEmailTest.php
index 88e6192062..6f86459b22 100644
--- a/tests/app/Elements/AddressEmailTest.php
+++ b/tests/app/Elements/AddressEmailTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressEmail::class)]
class AddressEmailTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressEmail('label');
}
diff --git a/tests/app/Elements/AddressFaxTest.php b/tests/app/Elements/AddressFaxTest.php
index 2ba5eaf6e7..afcf840252 100644
--- a/tests/app/Elements/AddressFaxTest.php
+++ b/tests/app/Elements/AddressFaxTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressFax::class)]
class AddressFaxTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressFax('label');
}
diff --git a/tests/app/Elements/AddressLine1Test.php b/tests/app/Elements/AddressLine1Test.php
index 314b80fb52..db5f49f8bf 100644
--- a/tests/app/Elements/AddressLine1Test.php
+++ b/tests/app/Elements/AddressLine1Test.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine1::class)]
class AddressLine1Test extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressLine1('label');
}
diff --git a/tests/app/Elements/AddressLine2Test.php b/tests/app/Elements/AddressLine2Test.php
index b63547edcb..079b79a000 100644
--- a/tests/app/Elements/AddressLine2Test.php
+++ b/tests/app/Elements/AddressLine2Test.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine2::class)]
class AddressLine2Test extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressLine2('label');
}
diff --git a/tests/app/Elements/AddressLine3Test.php b/tests/app/Elements/AddressLine3Test.php
index 0677333454..f1bb13628f 100644
--- a/tests/app/Elements/AddressLine3Test.php
+++ b/tests/app/Elements/AddressLine3Test.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine3::class)]
class AddressLine3Test extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressLine3('label');
}
diff --git a/tests/app/Elements/AddressLineTest.php b/tests/app/Elements/AddressLineTest.php
index cf864f5252..cc3a3150b9 100644
--- a/tests/app/Elements/AddressLineTest.php
+++ b/tests/app/Elements/AddressLineTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressLine::class)]
class AddressLineTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressLine('label');
}
diff --git a/tests/app/Elements/AddressPostalCodeTest.php b/tests/app/Elements/AddressPostalCodeTest.php
index b11021486d..523592b159 100644
--- a/tests/app/Elements/AddressPostalCodeTest.php
+++ b/tests/app/Elements/AddressPostalCodeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressPostalCode::class)]
class AddressPostalCodeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressPostalCode('label');
}
diff --git a/tests/app/Elements/AddressStateTest.php b/tests/app/Elements/AddressStateTest.php
index 9184d2209a..3e9eda6173 100644
--- a/tests/app/Elements/AddressStateTest.php
+++ b/tests/app/Elements/AddressStateTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressState::class)]
class AddressStateTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressState('label');
}
diff --git a/tests/app/Elements/AddressWebPageTest.php b/tests/app/Elements/AddressWebPageTest.php
index 3688276dce..bf2062c413 100644
--- a/tests/app/Elements/AddressWebPageTest.php
+++ b/tests/app/Elements/AddressWebPageTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AddressWebPage::class)]
class AddressWebPageTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AddressWebPage('label');
}
diff --git a/tests/app/Elements/AdoptedByWhichParentTest.php b/tests/app/Elements/AdoptedByWhichParentTest.php
index 5766be2e4e..67f8e3627d 100644
--- a/tests/app/Elements/AdoptedByWhichParentTest.php
+++ b/tests/app/Elements/AdoptedByWhichParentTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AdoptedByWhichParent::class)]
class AdoptedByWhichParentTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AdoptedByWhichParent('label');
}
diff --git a/tests/app/Elements/AdoptionTest.php b/tests/app/Elements/AdoptionTest.php
index 370324e059..fc436d5af7 100644
--- a/tests/app/Elements/AdoptionTest.php
+++ b/tests/app/Elements/AdoptionTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Adoption::class)]
class AdoptionTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Adoption('label');
}
diff --git a/tests/app/Elements/AdultChristeningTest.php b/tests/app/Elements/AdultChristeningTest.php
index 92962d22b6..c2103efe1c 100644
--- a/tests/app/Elements/AdultChristeningTest.php
+++ b/tests/app/Elements/AdultChristeningTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AdultChristening::class)]
class AdultChristeningTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AdultChristening('label');
}
diff --git a/tests/app/Elements/AgeAtEventTest.php b/tests/app/Elements/AgeAtEventTest.php
index df9eb80e58..a0621492ed 100644
--- a/tests/app/Elements/AgeAtEventTest.php
+++ b/tests/app/Elements/AgeAtEventTest.php
@@ -26,9 +26,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AgeAtEvent::class)]
class AgeAtEventTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AgeAtEvent('label');
}
diff --git a/tests/app/Elements/AncestralFileNumberTest.php b/tests/app/Elements/AncestralFileNumberTest.php
index ce5b9cdcb5..188d3eb8d2 100644
--- a/tests/app/Elements/AncestralFileNumberTest.php
+++ b/tests/app/Elements/AncestralFileNumberTest.php
@@ -26,9 +26,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AncestralFileNumber::class)]
class AncestralFileNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AncestralFileNumber('label');
}
diff --git a/tests/app/Elements/AnnulmentTest.php b/tests/app/Elements/AnnulmentTest.php
index d2f95d858c..13af5d7747 100644
--- a/tests/app/Elements/AnnulmentTest.php
+++ b/tests/app/Elements/AnnulmentTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Annulment::class)]
class AnnulmentTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Annulment('label');
}
diff --git a/tests/app/Elements/ApprovedSystemIdTest.php b/tests/app/Elements/ApprovedSystemIdTest.php
index b1db53d5ef..e7354da896 100644
--- a/tests/app/Elements/ApprovedSystemIdTest.php
+++ b/tests/app/Elements/ApprovedSystemIdTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ApprovedSystemId::class)]
class ApprovedSystemIdTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ApprovedSystemId('label');
}
diff --git a/tests/app/Elements/AttributeDescriptorTest.php b/tests/app/Elements/AttributeDescriptorTest.php
index 7d6e47f3fd..a70f2658bc 100644
--- a/tests/app/Elements/AttributeDescriptorTest.php
+++ b/tests/app/Elements/AttributeDescriptorTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AttributeDescriptor::class)]
class AttributeDescriptorTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AttributeDescriptor('label');
}
diff --git a/tests/app/Elements/AutomatedRecordIdTest.php b/tests/app/Elements/AutomatedRecordIdTest.php
index 69a9806caa..338523f2bc 100644
--- a/tests/app/Elements/AutomatedRecordIdTest.php
+++ b/tests/app/Elements/AutomatedRecordIdTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AutomatedRecordId::class)]
class AutomatedRecordIdTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AutomatedRecordId('label');
}
diff --git a/tests/app/Elements/BaptismTest.php b/tests/app/Elements/BaptismTest.php
index ed5a06bfa8..d82e741231 100644
--- a/tests/app/Elements/BaptismTest.php
+++ b/tests/app/Elements/BaptismTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Baptism::class)]
class BaptismTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Baptism('label');
}
diff --git a/tests/app/Elements/BarMitzvahTest.php b/tests/app/Elements/BarMitzvahTest.php
index 303027a9af..ed4ce6a42b 100644
--- a/tests/app/Elements/BarMitzvahTest.php
+++ b/tests/app/Elements/BarMitzvahTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(BarMitzvah::class)]
class BarMitzvahTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new BarMitzvah('label');
}
diff --git a/tests/app/Elements/BasMitzvahTest.php b/tests/app/Elements/BasMitzvahTest.php
index 1b93193d60..bc8afa88bc 100644
--- a/tests/app/Elements/BasMitzvahTest.php
+++ b/tests/app/Elements/BasMitzvahTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(BasMitzvah::class)]
class BasMitzvahTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new BasMitzvah('label');
}
diff --git a/tests/app/Elements/BirthTest.php b/tests/app/Elements/BirthTest.php
index 0a65eb6a56..b4f6e7bd9a 100644
--- a/tests/app/Elements/BirthTest.php
+++ b/tests/app/Elements/BirthTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Birth::class)]
class BirthTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Birth('label');
}
diff --git a/tests/app/Elements/BlessingTest.php b/tests/app/Elements/BlessingTest.php
index c01ee9cb9e..cb40c52700 100644
--- a/tests/app/Elements/BlessingTest.php
+++ b/tests/app/Elements/BlessingTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Blessing::class)]
class BlessingTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Blessing('label');
}
diff --git a/tests/app/Elements/BurialTest.php b/tests/app/Elements/BurialTest.php
index cbd1abf053..dd6d1e66f9 100644
--- a/tests/app/Elements/BurialTest.php
+++ b/tests/app/Elements/BurialTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Burial::class)]
class BurialTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Burial('label');
}
diff --git a/tests/app/Elements/CasteNameTest.php b/tests/app/Elements/CasteNameTest.php
index e2f931a68f..2097c4e6b7 100644
--- a/tests/app/Elements/CasteNameTest.php
+++ b/tests/app/Elements/CasteNameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CasteName::class)]
class CasteNameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CasteName('label');
}
diff --git a/tests/app/Elements/CauseOfEventTest.php b/tests/app/Elements/CauseOfEventTest.php
index 5ba5180096..0d4b4ae9b6 100644
--- a/tests/app/Elements/CauseOfEventTest.php
+++ b/tests/app/Elements/CauseOfEventTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CauseOfEvent::class)]
class CauseOfEventTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CauseOfEvent('label');
}
diff --git a/tests/app/Elements/CensusTest.php b/tests/app/Elements/CensusTest.php
index d78d4a8d2e..5bdb34cf16 100644
--- a/tests/app/Elements/CensusTest.php
+++ b/tests/app/Elements/CensusTest.php
@@ -27,9 +27,9 @@ class CensusTest extends AbstractElementTestCase
{
protected static bool $uses_database = true;
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Census('label');
}
diff --git a/tests/app/Elements/CertaintyAssessmentTest.php b/tests/app/Elements/CertaintyAssessmentTest.php
index c0588983d7..2b0030e25a 100644
--- a/tests/app/Elements/CertaintyAssessmentTest.php
+++ b/tests/app/Elements/CertaintyAssessmentTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CertaintyAssessment::class)]
class CertaintyAssessmentTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CertaintyAssessment('label');
}
diff --git a/tests/app/Elements/ChangeDateTest.php b/tests/app/Elements/ChangeDateTest.php
index 548267bd2d..dc118f5b5f 100644
--- a/tests/app/Elements/ChangeDateTest.php
+++ b/tests/app/Elements/ChangeDateTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ChangeDate::class)]
class ChangeDateTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ChangeDate('label');
}
diff --git a/tests/app/Elements/ChangeTest.php b/tests/app/Elements/ChangeTest.php
index ae5baf7651..9d2ee23fb0 100644
--- a/tests/app/Elements/ChangeTest.php
+++ b/tests/app/Elements/ChangeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Change::class)]
class ChangeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Change('label');
}
diff --git a/tests/app/Elements/CharacterSetTest.php b/tests/app/Elements/CharacterSetTest.php
index 47fb93b52e..86e2e65492 100644
--- a/tests/app/Elements/CharacterSetTest.php
+++ b/tests/app/Elements/CharacterSetTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CharacterSet::class)]
class CharacterSetTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CharacterSet('label');
}
diff --git a/tests/app/Elements/ChildLinkageStatusTest.php b/tests/app/Elements/ChildLinkageStatusTest.php
index 688d0ebbba..0ae24bd3f2 100644
--- a/tests/app/Elements/ChildLinkageStatusTest.php
+++ b/tests/app/Elements/ChildLinkageStatusTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ChildLinkageStatus::class)]
class ChildLinkageStatusTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ChildLinkageStatus('label');
}
diff --git a/tests/app/Elements/ChristeningTest.php b/tests/app/Elements/ChristeningTest.php
index 716fffc789..5288df93d2 100644
--- a/tests/app/Elements/ChristeningTest.php
+++ b/tests/app/Elements/ChristeningTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Christening::class)]
class ChristeningTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Christening('label');
}
diff --git a/tests/app/Elements/ConfirmationTest.php b/tests/app/Elements/ConfirmationTest.php
index d163762dd2..0d145c6fbc 100644
--- a/tests/app/Elements/ConfirmationTest.php
+++ b/tests/app/Elements/ConfirmationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Confirmation::class)]
class ConfirmationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Confirmation('label');
}
diff --git a/tests/app/Elements/ContentDescriptionTest.php b/tests/app/Elements/ContentDescriptionTest.php
index 0e7d8a0430..0473967a7b 100644
--- a/tests/app/Elements/ContentDescriptionTest.php
+++ b/tests/app/Elements/ContentDescriptionTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ContentDescription::class)]
class ContentDescriptionTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ContentDescription('label');
}
diff --git a/tests/app/Elements/CopyrightFileTest.php b/tests/app/Elements/CopyrightFileTest.php
index 7336306287..2d5304c58c 100644
--- a/tests/app/Elements/CopyrightFileTest.php
+++ b/tests/app/Elements/CopyrightFileTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CopyrightFile::class)]
class CopyrightFileTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CopyrightFile('label');
}
diff --git a/tests/app/Elements/CopyrightSourceDataTest.php b/tests/app/Elements/CopyrightSourceDataTest.php
index 4e4b33ba14..39f1adb12c 100644
--- a/tests/app/Elements/CopyrightSourceDataTest.php
+++ b/tests/app/Elements/CopyrightSourceDataTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CopyrightSourceData::class)]
class CopyrightSourceDataTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CopyrightSourceData('label');
}
diff --git a/tests/app/Elements/CountOfChildrenTest.php b/tests/app/Elements/CountOfChildrenTest.php
index b3e6488a86..bde0121aa0 100644
--- a/tests/app/Elements/CountOfChildrenTest.php
+++ b/tests/app/Elements/CountOfChildrenTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CountOfChildren::class)]
class CountOfChildrenTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CountOfChildren('label');
}
diff --git a/tests/app/Elements/CountOfMarriagesTest.php b/tests/app/Elements/CountOfMarriagesTest.php
index 3c766febef..9926f6d978 100644
--- a/tests/app/Elements/CountOfMarriagesTest.php
+++ b/tests/app/Elements/CountOfMarriagesTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CountOfMarriages::class)]
class CountOfMarriagesTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CountOfMarriages('label');
}
diff --git a/tests/app/Elements/CremationTest.php b/tests/app/Elements/CremationTest.php
index e63e0a6095..4aeb8efe90 100644
--- a/tests/app/Elements/CremationTest.php
+++ b/tests/app/Elements/CremationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Cremation::class)]
class CremationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Cremation('label');
}
diff --git a/tests/app/Elements/CustomElementTest.php b/tests/app/Elements/CustomElementTest.php
index ce81f99472..9378a13990 100644
--- a/tests/app/Elements/CustomElementTest.php
+++ b/tests/app/Elements/CustomElementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CustomElement::class)]
class CustomElementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CustomElement('label');
}
diff --git a/tests/app/Elements/CustomEventTest.php b/tests/app/Elements/CustomEventTest.php
index e1d0cba961..633593cc90 100644
--- a/tests/app/Elements/CustomEventTest.php
+++ b/tests/app/Elements/CustomEventTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CustomEvent::class)]
class CustomEventTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CustomEvent('label');
}
diff --git a/tests/app/Elements/CustomFactTest.php b/tests/app/Elements/CustomFactTest.php
index f5779a452a..6fd2da79cb 100644
--- a/tests/app/Elements/CustomFactTest.php
+++ b/tests/app/Elements/CustomFactTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CustomFact::class)]
class CustomFactTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new CustomFact('label');
}
diff --git a/tests/app/Elements/DateLdsOrdTest.php b/tests/app/Elements/DateLdsOrdTest.php
index f4535953da..bdff57c9a5 100644
--- a/tests/app/Elements/DateLdsOrdTest.php
+++ b/tests/app/Elements/DateLdsOrdTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DateLdsOrd::class)]
class DateLdsOrdTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new DateLdsOrd('label');
}
diff --git a/tests/app/Elements/DateValueTest.php b/tests/app/Elements/DateValueTest.php
index 42ebd0a34e..e7b2b609db 100644
--- a/tests/app/Elements/DateValueTest.php
+++ b/tests/app/Elements/DateValueTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DateValue::class)]
class DateValueTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
static::$element = new DateValue('label');
}
diff --git a/tests/app/Elements/DeathTest.php b/tests/app/Elements/DeathTest.php
index df9d641314..657ba3b6ad 100644
--- a/tests/app/Elements/DeathTest.php
+++ b/tests/app/Elements/DeathTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Death::class)]
class DeathTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Death('label');
}
diff --git a/tests/app/Elements/DemographicDataTypeTest.php b/tests/app/Elements/DemographicDataTypeTest.php
index c119be3194..d3467a68a0 100644
--- a/tests/app/Elements/DemographicDataTypeTest.php
+++ b/tests/app/Elements/DemographicDataTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DemographicDataType::class)]
class DemographicDataTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new DemographicDataType('label');
}
diff --git a/tests/app/Elements/DescriptiveTitleTest.php b/tests/app/Elements/DescriptiveTitleTest.php
index edcce468db..d93062372e 100644
--- a/tests/app/Elements/DescriptiveTitleTest.php
+++ b/tests/app/Elements/DescriptiveTitleTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DescriptiveTitle::class)]
class DescriptiveTitleTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new DescriptiveTitle('label');
}
diff --git a/tests/app/Elements/DivorceFiledTest.php b/tests/app/Elements/DivorceFiledTest.php
index 9662bd6a30..3f07d2e4c8 100644
--- a/tests/app/Elements/DivorceFiledTest.php
+++ b/tests/app/Elements/DivorceFiledTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(DivorceFiled::class)]
class DivorceFiledTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new DivorceFiled('label');
}
diff --git a/tests/app/Elements/DivorceTest.php b/tests/app/Elements/DivorceTest.php
index 31a099e9f2..1d876d29dd 100644
--- a/tests/app/Elements/DivorceTest.php
+++ b/tests/app/Elements/DivorceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Divorce::class)]
class DivorceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Divorce('label');
}
diff --git a/tests/app/Elements/EmigrationTest.php b/tests/app/Elements/EmigrationTest.php
index 03af4b7b5d..9035486092 100644
--- a/tests/app/Elements/EmigrationTest.php
+++ b/tests/app/Elements/EmigrationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Emigration::class)]
class EmigrationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Emigration('label');
}
diff --git a/tests/app/Elements/EmptyElementTest.php b/tests/app/Elements/EmptyElementTest.php
index 7046bff852..81f2dd2d4a 100644
--- a/tests/app/Elements/EmptyElementTest.php
+++ b/tests/app/Elements/EmptyElementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EmptyElement::class)]
class EmptyElementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new EmptyElement('label');
}
diff --git a/tests/app/Elements/EngagementTest.php b/tests/app/Elements/EngagementTest.php
index 3c928b6fdf..14a59f7670 100644
--- a/tests/app/Elements/EngagementTest.php
+++ b/tests/app/Elements/EngagementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Engagement::class)]
class EngagementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Engagement('label');
}
diff --git a/tests/app/Elements/EventAttributeTypeTest.php b/tests/app/Elements/EventAttributeTypeTest.php
index a765a1ed9c..860d064b61 100644
--- a/tests/app/Elements/EventAttributeTypeTest.php
+++ b/tests/app/Elements/EventAttributeTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventAttributeType::class)]
class EventAttributeTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new EventAttributeType('label');
}
diff --git a/tests/app/Elements/EventOrFactClassificationTest.php b/tests/app/Elements/EventOrFactClassificationTest.php
index 2719b30208..ea9cb1d71c 100644
--- a/tests/app/Elements/EventOrFactClassificationTest.php
+++ b/tests/app/Elements/EventOrFactClassificationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventOrFactClassification::class)]
class EventOrFactClassificationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new EventOrFactClassification('label');
}
diff --git a/tests/app/Elements/EventTypeCitedFromTest.php b/tests/app/Elements/EventTypeCitedFromTest.php
index 02b3ce7ad9..133112df31 100644
--- a/tests/app/Elements/EventTypeCitedFromTest.php
+++ b/tests/app/Elements/EventTypeCitedFromTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventTypeCitedFrom::class)]
class EventTypeCitedFromTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new EventTypeCitedFrom('label');
}
diff --git a/tests/app/Elements/EventsRecordedTest.php b/tests/app/Elements/EventsRecordedTest.php
index 5cac3ff7f4..0ecd20c6ba 100644
--- a/tests/app/Elements/EventsRecordedTest.php
+++ b/tests/app/Elements/EventsRecordedTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EventsRecorded::class)]
class EventsRecordedTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new EventsRecorded('label');
}
diff --git a/tests/app/Elements/FamilyRecordTest.php b/tests/app/Elements/FamilyRecordTest.php
index 36a90c5c53..d26dc23fc9 100644
--- a/tests/app/Elements/FamilyRecordTest.php
+++ b/tests/app/Elements/FamilyRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyRecord::class)]
class FamilyRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new FamilyRecord('label');
}
diff --git a/tests/app/Elements/FamilySearchFamilyTreeIdTest.php b/tests/app/Elements/FamilySearchFamilyTreeIdTest.php
index 3a1638cb9f..5c34e7171e 100644
--- a/tests/app/Elements/FamilySearchFamilyTreeIdTest.php
+++ b/tests/app/Elements/FamilySearchFamilyTreeIdTest.php
@@ -26,9 +26,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilySearchFamilyTreeId::class)]
class FamilySearchFamilyTreeIdTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new AncestralFileNumber('label');
}
diff --git a/tests/app/Elements/FamilyStatusTextTest.php b/tests/app/Elements/FamilyStatusTextTest.php
index 8543e850c7..db8da38609 100644
--- a/tests/app/Elements/FamilyStatusTextTest.php
+++ b/tests/app/Elements/FamilyStatusTextTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FamilyStatusText::class)]
class FamilyStatusTextTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new FamilyStatusText('label');
}
diff --git a/tests/app/Elements/FileNameTest.php b/tests/app/Elements/FileNameTest.php
index 3170500163..aa270b6256 100644
--- a/tests/app/Elements/FileNameTest.php
+++ b/tests/app/Elements/FileNameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FileName::class)]
class FileNameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new FileName('label');
}
diff --git a/tests/app/Elements/FirstCommunionTest.php b/tests/app/Elements/FirstCommunionTest.php
index b64c7e8332..9c20cd11e4 100644
--- a/tests/app/Elements/FirstCommunionTest.php
+++ b/tests/app/Elements/FirstCommunionTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FirstCommunion::class)]
class FirstCommunionTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new FirstCommunion('label');
}
diff --git a/tests/app/Elements/FormTest.php b/tests/app/Elements/FormTest.php
index b1386184ce..9689c781b1 100644
--- a/tests/app/Elements/FormTest.php
+++ b/tests/app/Elements/FormTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Form::class)]
class FormTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Form('label');
}
diff --git a/tests/app/Elements/GedcomElementTest.php b/tests/app/Elements/GedcomElementTest.php
index 0d2b5baee0..389785f220 100644
--- a/tests/app/Elements/GedcomElementTest.php
+++ b/tests/app/Elements/GedcomElementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GedcomElement::class)]
class GedcomElementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new GedcomElement('label');
}
diff --git a/tests/app/Elements/GenerationsOfAncestorsTest.php b/tests/app/Elements/GenerationsOfAncestorsTest.php
index 4698e86292..e65c2d3ecb 100644
--- a/tests/app/Elements/GenerationsOfAncestorsTest.php
+++ b/tests/app/Elements/GenerationsOfAncestorsTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GenerationsOfAncestors::class)]
class GenerationsOfAncestorsTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new GenerationsOfAncestors('label');
}
diff --git a/tests/app/Elements/GenerationsOfDescendantsTest.php b/tests/app/Elements/GenerationsOfDescendantsTest.php
index db52c7882d..e32eb7fae3 100644
--- a/tests/app/Elements/GenerationsOfDescendantsTest.php
+++ b/tests/app/Elements/GenerationsOfDescendantsTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GenerationsOfDescendants::class)]
class GenerationsOfDescendantsTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new GenerationsOfDescendants('label');
}
diff --git a/tests/app/Elements/GovIdTypeTest.php b/tests/app/Elements/GovIdTypeTest.php
index 4d66bf2453..c5e92395ef 100644
--- a/tests/app/Elements/GovIdTypeTest.php
+++ b/tests/app/Elements/GovIdTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GovIdType::class)]
class GovIdTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new GovIdType('label');
}
diff --git a/tests/app/Elements/GovIdentifierTest.php b/tests/app/Elements/GovIdentifierTest.php
index aa94c62fbe..15924bb306 100644
--- a/tests/app/Elements/GovIdentifierTest.php
+++ b/tests/app/Elements/GovIdentifierTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GovIdentifier::class)]
class GovIdentifierTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new GovIdentifier('label');
}
diff --git a/tests/app/Elements/GraduationTest.php b/tests/app/Elements/GraduationTest.php
index 93a93fdf09..b958bdc3f2 100644
--- a/tests/app/Elements/GraduationTest.php
+++ b/tests/app/Elements/GraduationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Graduation::class)]
class GraduationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Graduation('label');
}
diff --git a/tests/app/Elements/HeaderRecordTest.php b/tests/app/Elements/HeaderRecordTest.php
index f60e0ad654..aba4dfc43a 100644
--- a/tests/app/Elements/HeaderRecordTest.php
+++ b/tests/app/Elements/HeaderRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HeaderRecord::class)]
class HeaderRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new HeaderRecord('label');
}
diff --git a/tests/app/Elements/HierarchicalRelationshipTest.php b/tests/app/Elements/HierarchicalRelationshipTest.php
index 6fd939ab69..8d19d8b344 100644
--- a/tests/app/Elements/HierarchicalRelationshipTest.php
+++ b/tests/app/Elements/HierarchicalRelationshipTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(HierarchicalRelationship::class)]
class HierarchicalRelationshipTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new HierarchicalRelationship('label');
}
diff --git a/tests/app/Elements/ImmigrationTest.php b/tests/app/Elements/ImmigrationTest.php
index 41e3632f27..663582c76d 100644
--- a/tests/app/Elements/ImmigrationTest.php
+++ b/tests/app/Elements/ImmigrationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Immigration::class)]
class ImmigrationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Immigration('label');
}
diff --git a/tests/app/Elements/IndividualRecordTest.php b/tests/app/Elements/IndividualRecordTest.php
index 27dfde6290..ea0729b9ae 100644
--- a/tests/app/Elements/IndividualRecordTest.php
+++ b/tests/app/Elements/IndividualRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(IndividualRecord::class)]
class IndividualRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new IndividualRecord('label');
}
diff --git a/tests/app/Elements/LanguageIdTest.php b/tests/app/Elements/LanguageIdTest.php
index b79fceba59..952e35a42b 100644
--- a/tests/app/Elements/LanguageIdTest.php
+++ b/tests/app/Elements/LanguageIdTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LanguageId::class)]
class LanguageIdTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
static::$element = new LanguageId('label');
}
diff --git a/tests/app/Elements/LdsBaptismDateStatusTest.php b/tests/app/Elements/LdsBaptismDateStatusTest.php
index 20b54584a0..1dd166189a 100644
--- a/tests/app/Elements/LdsBaptismDateStatusTest.php
+++ b/tests/app/Elements/LdsBaptismDateStatusTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsBaptismDateStatus::class)]
class LdsBaptismDateStatusTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsBaptismDateStatus('label');
}
diff --git a/tests/app/Elements/LdsBaptismTest.php b/tests/app/Elements/LdsBaptismTest.php
index 32e060446a..4846a57235 100644
--- a/tests/app/Elements/LdsBaptismTest.php
+++ b/tests/app/Elements/LdsBaptismTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsBaptism::class)]
class LdsBaptismTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsBaptism('label');
}
diff --git a/tests/app/Elements/LdsChildSealingDateStatusTest.php b/tests/app/Elements/LdsChildSealingDateStatusTest.php
index d92400b7e0..d328e36c6b 100644
--- a/tests/app/Elements/LdsChildSealingDateStatusTest.php
+++ b/tests/app/Elements/LdsChildSealingDateStatusTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsChildSealingDateStatus::class)]
class LdsChildSealingDateStatusTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsChildSealingDateStatus('label');
}
diff --git a/tests/app/Elements/LdsChildSealingTest.php b/tests/app/Elements/LdsChildSealingTest.php
index dd4638f25d..06d0fd0ea5 100644
--- a/tests/app/Elements/LdsChildSealingTest.php
+++ b/tests/app/Elements/LdsChildSealingTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsChildSealing::class)]
class LdsChildSealingTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsChildSealing('label');
}
diff --git a/tests/app/Elements/LdsConfirmationTest.php b/tests/app/Elements/LdsConfirmationTest.php
index 24cc6a5ff7..21b8475786 100644
--- a/tests/app/Elements/LdsConfirmationTest.php
+++ b/tests/app/Elements/LdsConfirmationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsConfirmation::class)]
class LdsConfirmationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsConfirmation('label');
}
diff --git a/tests/app/Elements/LdsEndowmentDateStatusTest.php b/tests/app/Elements/LdsEndowmentDateStatusTest.php
index 3bc0f878d0..3b1afa47a9 100644
--- a/tests/app/Elements/LdsEndowmentDateStatusTest.php
+++ b/tests/app/Elements/LdsEndowmentDateStatusTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsEndowmentDateStatus::class)]
class LdsEndowmentDateStatusTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsEndowmentDateStatus('label');
}
diff --git a/tests/app/Elements/LdsEndowmentTest.php b/tests/app/Elements/LdsEndowmentTest.php
index ac205b10b9..b2d71c68c4 100644
--- a/tests/app/Elements/LdsEndowmentTest.php
+++ b/tests/app/Elements/LdsEndowmentTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsEndowment::class)]
class LdsEndowmentTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsEndowment('label');
}
diff --git a/tests/app/Elements/LdsSpouseSealingDateStatusTest.php b/tests/app/Elements/LdsSpouseSealingDateStatusTest.php
index 4832c771de..c169a0b316 100644
--- a/tests/app/Elements/LdsSpouseSealingDateStatusTest.php
+++ b/tests/app/Elements/LdsSpouseSealingDateStatusTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsSpouseSealingDateStatus::class)]
class LdsSpouseSealingDateStatusTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsSpouseSealingDateStatus('label');
}
diff --git a/tests/app/Elements/LdsSpouseSealingTest.php b/tests/app/Elements/LdsSpouseSealingTest.php
index 1cc9351560..6388c0ca75 100644
--- a/tests/app/Elements/LdsSpouseSealingTest.php
+++ b/tests/app/Elements/LdsSpouseSealingTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LdsSpouseSealing::class)]
class LdsSpouseSealingTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LdsSpouseSealing('label');
}
diff --git a/tests/app/Elements/LocationRecordTest.php b/tests/app/Elements/LocationRecordTest.php
index 318a01705c..72ae8c45f4 100644
--- a/tests/app/Elements/LocationRecordTest.php
+++ b/tests/app/Elements/LocationRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LocationRecord::class)]
class LocationRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new LocationRecord('label');
}
diff --git a/tests/app/Elements/MaidenheadLocatorTest.php b/tests/app/Elements/MaidenheadLocatorTest.php
index df5df3e6e5..bddbcbec5a 100644
--- a/tests/app/Elements/MaidenheadLocatorTest.php
+++ b/tests/app/Elements/MaidenheadLocatorTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MaidenheadLocator::class)]
class MaidenheadLocatorTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MaidenheadLocator('label');
}
diff --git a/tests/app/Elements/MarriageBannsTest.php b/tests/app/Elements/MarriageBannsTest.php
index 2877673631..5cce0ef0de 100644
--- a/tests/app/Elements/MarriageBannsTest.php
+++ b/tests/app/Elements/MarriageBannsTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageBanns::class)]
class MarriageBannsTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MarriageBanns('label');
}
diff --git a/tests/app/Elements/MarriageContractTest.php b/tests/app/Elements/MarriageContractTest.php
index 8b1f4505e9..47a14c8a23 100644
--- a/tests/app/Elements/MarriageContractTest.php
+++ b/tests/app/Elements/MarriageContractTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageContract::class)]
class MarriageContractTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MarriageContract('label');
}
diff --git a/tests/app/Elements/MarriageLicenceTest.php b/tests/app/Elements/MarriageLicenceTest.php
index ba74685545..e43a8924c7 100644
--- a/tests/app/Elements/MarriageLicenceTest.php
+++ b/tests/app/Elements/MarriageLicenceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageLicence::class)]
class MarriageLicenceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MarriageLicence('label');
}
diff --git a/tests/app/Elements/MarriageSettlementTest.php b/tests/app/Elements/MarriageSettlementTest.php
index 17a342a07f..75552c9976 100644
--- a/tests/app/Elements/MarriageSettlementTest.php
+++ b/tests/app/Elements/MarriageSettlementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageSettlement::class)]
class MarriageSettlementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MarriageSettlement('label');
}
diff --git a/tests/app/Elements/MarriageTest.php b/tests/app/Elements/MarriageTest.php
index 109747ec56..88bffcbdf1 100644
--- a/tests/app/Elements/MarriageTest.php
+++ b/tests/app/Elements/MarriageTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Marriage::class)]
class MarriageTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Marriage('label');
}
diff --git a/tests/app/Elements/MarriageTypeTest.php b/tests/app/Elements/MarriageTypeTest.php
index 885c3ac2a0..d9e4a1a72c 100644
--- a/tests/app/Elements/MarriageTypeTest.php
+++ b/tests/app/Elements/MarriageTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MarriageType::class)]
class MarriageTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MarriageType('label');
}
diff --git a/tests/app/Elements/MediaRecordTest.php b/tests/app/Elements/MediaRecordTest.php
index 27090bd4f4..dfedad7f6f 100644
--- a/tests/app/Elements/MediaRecordTest.php
+++ b/tests/app/Elements/MediaRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MediaRecord::class)]
class MediaRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MediaRecord('label');
}
diff --git a/tests/app/Elements/MultimediaFileReferenceTest.php b/tests/app/Elements/MultimediaFileReferenceTest.php
index 20d7b2d8e3..ee6f4b7a20 100644
--- a/tests/app/Elements/MultimediaFileReferenceTest.php
+++ b/tests/app/Elements/MultimediaFileReferenceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MultimediaFileReference::class)]
class MultimediaFileReferenceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MultimediaFileReference('label');
}
diff --git a/tests/app/Elements/MultimediaFormatTest.php b/tests/app/Elements/MultimediaFormatTest.php
index 633de4b683..1591b5d344 100644
--- a/tests/app/Elements/MultimediaFormatTest.php
+++ b/tests/app/Elements/MultimediaFormatTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MultimediaFormat::class)]
class MultimediaFormatTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new MultimediaFormat('label');
}
diff --git a/tests/app/Elements/NameOfBusinessTest.php b/tests/app/Elements/NameOfBusinessTest.php
index 21bef5bb65..a9713e5cb7 100644
--- a/tests/app/Elements/NameOfBusinessTest.php
+++ b/tests/app/Elements/NameOfBusinessTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfBusiness::class)]
class NameOfBusinessTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameOfBusiness('label');
}
diff --git a/tests/app/Elements/NameOfFamilyFileTest.php b/tests/app/Elements/NameOfFamilyFileTest.php
index 5bff6122a9..ac92236b6d 100644
--- a/tests/app/Elements/NameOfFamilyFileTest.php
+++ b/tests/app/Elements/NameOfFamilyFileTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfFamilyFile::class)]
class NameOfFamilyFileTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameOfFamilyFile('label');
}
diff --git a/tests/app/Elements/NameOfProductTest.php b/tests/app/Elements/NameOfProductTest.php
index 35cb96251e..02cb181599 100644
--- a/tests/app/Elements/NameOfProductTest.php
+++ b/tests/app/Elements/NameOfProductTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfProduct::class)]
class NameOfProductTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameOfProduct('label');
}
diff --git a/tests/app/Elements/NameOfRepositoryTest.php b/tests/app/Elements/NameOfRepositoryTest.php
index 3f15d0ea12..5d5d049499 100644
--- a/tests/app/Elements/NameOfRepositoryTest.php
+++ b/tests/app/Elements/NameOfRepositoryTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfRepository::class)]
class NameOfRepositoryTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameOfRepository('label');
}
diff --git a/tests/app/Elements/NameOfSourceDataTest.php b/tests/app/Elements/NameOfSourceDataTest.php
index 2453f36f4d..900be3d658 100644
--- a/tests/app/Elements/NameOfSourceDataTest.php
+++ b/tests/app/Elements/NameOfSourceDataTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameOfSourceData::class)]
class NameOfSourceDataTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameOfSourceData('label');
}
diff --git a/tests/app/Elements/NamePersonalTest.php b/tests/app/Elements/NamePersonalTest.php
index 7739aafa90..1b363cddcb 100644
--- a/tests/app/Elements/NamePersonalTest.php
+++ b/tests/app/Elements/NamePersonalTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePersonal::class)]
class NamePersonalTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePersonal('label');
}
diff --git a/tests/app/Elements/NamePhoneticVariationTest.php b/tests/app/Elements/NamePhoneticVariationTest.php
index e35a6b7c06..e9c12f0aa8 100644
--- a/tests/app/Elements/NamePhoneticVariationTest.php
+++ b/tests/app/Elements/NamePhoneticVariationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePhoneticVariation::class)]
class NamePhoneticVariationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePhoneticVariation('label');
}
diff --git a/tests/app/Elements/NamePieceGivenTest.php b/tests/app/Elements/NamePieceGivenTest.php
index 12c52dd807..bdf0a6d3bd 100644
--- a/tests/app/Elements/NamePieceGivenTest.php
+++ b/tests/app/Elements/NamePieceGivenTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceGiven::class)]
class NamePieceGivenTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePieceGiven('label');
}
diff --git a/tests/app/Elements/NamePieceNicknameTest.php b/tests/app/Elements/NamePieceNicknameTest.php
index 090c68e438..a9f409ad23 100644
--- a/tests/app/Elements/NamePieceNicknameTest.php
+++ b/tests/app/Elements/NamePieceNicknameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceNickname::class)]
class NamePieceNicknameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePieceNickname('label');
}
diff --git a/tests/app/Elements/NamePiecePrefixTest.php b/tests/app/Elements/NamePiecePrefixTest.php
index 4b847b83b0..e3f51a6b23 100644
--- a/tests/app/Elements/NamePiecePrefixTest.php
+++ b/tests/app/Elements/NamePiecePrefixTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePiecePrefix::class)]
class NamePiecePrefixTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePiecePrefix('label');
}
diff --git a/tests/app/Elements/NamePieceSuffixTest.php b/tests/app/Elements/NamePieceSuffixTest.php
index f567937aa8..0eadf889a9 100644
--- a/tests/app/Elements/NamePieceSuffixTest.php
+++ b/tests/app/Elements/NamePieceSuffixTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceSuffix::class)]
class NamePieceSuffixTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePieceSuffix('label');
}
diff --git a/tests/app/Elements/NamePieceSurnamePrefixTest.php b/tests/app/Elements/NamePieceSurnamePrefixTest.php
index 8538012be1..4927f78a54 100644
--- a/tests/app/Elements/NamePieceSurnamePrefixTest.php
+++ b/tests/app/Elements/NamePieceSurnamePrefixTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceSurnamePrefix::class)]
class NamePieceSurnamePrefixTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePieceSurnamePrefix('label');
}
diff --git a/tests/app/Elements/NamePieceSurnameTest.php b/tests/app/Elements/NamePieceSurnameTest.php
index 5429bc8b6d..35595af578 100644
--- a/tests/app/Elements/NamePieceSurnameTest.php
+++ b/tests/app/Elements/NamePieceSurnameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NamePieceSurname::class)]
class NamePieceSurnameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NamePieceSurname('label');
}
diff --git a/tests/app/Elements/NameRomanizedVariationTest.php b/tests/app/Elements/NameRomanizedVariationTest.php
index c24399faef..71c09c4e65 100644
--- a/tests/app/Elements/NameRomanizedVariationTest.php
+++ b/tests/app/Elements/NameRomanizedVariationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameRomanizedVariation::class)]
class NameRomanizedVariationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameRomanizedVariation('label');
}
diff --git a/tests/app/Elements/NameTypeTest.php b/tests/app/Elements/NameTypeTest.php
index 55683dac3e..4f4f379818 100644
--- a/tests/app/Elements/NameTypeTest.php
+++ b/tests/app/Elements/NameTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NameType::class)]
class NameTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NameType('label');
}
diff --git a/tests/app/Elements/NationalIdNumberTest.php b/tests/app/Elements/NationalIdNumberTest.php
index f502c884df..094c41ada5 100644
--- a/tests/app/Elements/NationalIdNumberTest.php
+++ b/tests/app/Elements/NationalIdNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NationalIdNumber::class)]
class NationalIdNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NationalIdNumber('label');
}
diff --git a/tests/app/Elements/NationalOrTribalOriginTest.php b/tests/app/Elements/NationalOrTribalOriginTest.php
index bd13a4dca5..9a118e474c 100644
--- a/tests/app/Elements/NationalOrTribalOriginTest.php
+++ b/tests/app/Elements/NationalOrTribalOriginTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NationalOrTribalOrigin::class)]
class NationalOrTribalOriginTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NationalOrTribalOrigin('label');
}
diff --git a/tests/app/Elements/NaturalizationTest.php b/tests/app/Elements/NaturalizationTest.php
index bf090fc15c..c378f84a66 100644
--- a/tests/app/Elements/NaturalizationTest.php
+++ b/tests/app/Elements/NaturalizationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Naturalization::class)]
class NaturalizationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Naturalization('label');
}
diff --git a/tests/app/Elements/NobilityTypeTitleTest.php b/tests/app/Elements/NobilityTypeTitleTest.php
index f4cf90cb67..9e8ee9e57e 100644
--- a/tests/app/Elements/NobilityTypeTitleTest.php
+++ b/tests/app/Elements/NobilityTypeTitleTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NobilityTypeTitle::class)]
class NobilityTypeTitleTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NobilityTypeTitle('label');
}
diff --git a/tests/app/Elements/NoteRecordTest.php b/tests/app/Elements/NoteRecordTest.php
index 4b8e56b23b..e88e07198d 100644
--- a/tests/app/Elements/NoteRecordTest.php
+++ b/tests/app/Elements/NoteRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NoteRecord::class)]
class NoteRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NoteRecord('label');
}
diff --git a/tests/app/Elements/NoteStructureTest.php b/tests/app/Elements/NoteStructureTest.php
index 051f5e40b8..df4b4d2ccd 100644
--- a/tests/app/Elements/NoteStructureTest.php
+++ b/tests/app/Elements/NoteStructureTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NoteStructure::class)]
class NoteStructureTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new NoteStructure('label');
}
diff --git a/tests/app/Elements/OccupationTest.php b/tests/app/Elements/OccupationTest.php
index 56758106b8..f1e3a8e2b1 100644
--- a/tests/app/Elements/OccupationTest.php
+++ b/tests/app/Elements/OccupationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Occupation::class)]
class OccupationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Occupation('label');
}
diff --git a/tests/app/Elements/OrdinanceProcessFlagTest.php b/tests/app/Elements/OrdinanceProcessFlagTest.php
index c24fb4eebb..e9559ec63e 100644
--- a/tests/app/Elements/OrdinanceProcessFlagTest.php
+++ b/tests/app/Elements/OrdinanceProcessFlagTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(OrdinanceProcessFlag::class)]
class OrdinanceProcessFlagTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new OrdinanceProcessFlag('label');
}
diff --git a/tests/app/Elements/OrdinationTest.php b/tests/app/Elements/OrdinationTest.php
index 53a6374143..e36c2e1e53 100644
--- a/tests/app/Elements/OrdinationTest.php
+++ b/tests/app/Elements/OrdinationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Ordination::class)]
class OrdinationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Ordination('label');
}
diff --git a/tests/app/Elements/PafUidTest.php b/tests/app/Elements/PafUidTest.php
index 28704daaaa..db66680236 100644
--- a/tests/app/Elements/PafUidTest.php
+++ b/tests/app/Elements/PafUidTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PafUid::class)]
class PafUidTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PafUid('label');
}
diff --git a/tests/app/Elements/PedigreeLinkageTypeTest.php b/tests/app/Elements/PedigreeLinkageTypeTest.php
index dc776f821f..de003321a9 100644
--- a/tests/app/Elements/PedigreeLinkageTypeTest.php
+++ b/tests/app/Elements/PedigreeLinkageTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PedigreeLinkageType::class)]
class PedigreeLinkageTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PedigreeLinkageType('label');
}
diff --git a/tests/app/Elements/PermanentRecordFileNumberTest.php b/tests/app/Elements/PermanentRecordFileNumberTest.php
index a63e3da40b..d84be5670d 100644
--- a/tests/app/Elements/PermanentRecordFileNumberTest.php
+++ b/tests/app/Elements/PermanentRecordFileNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PermanentRecordFileNumber::class)]
class PermanentRecordFileNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PermanentRecordFileNumber('label');
}
diff --git a/tests/app/Elements/PhoneNumberTest.php b/tests/app/Elements/PhoneNumberTest.php
index 21cbd08ae1..acee2909d5 100644
--- a/tests/app/Elements/PhoneNumberTest.php
+++ b/tests/app/Elements/PhoneNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PhoneNumber::class)]
class PhoneNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PhoneNumber('label');
}
diff --git a/tests/app/Elements/PhoneticTypeTest.php b/tests/app/Elements/PhoneticTypeTest.php
index 4b6dafb41f..33f6aa04ed 100644
--- a/tests/app/Elements/PhoneticTypeTest.php
+++ b/tests/app/Elements/PhoneticTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PhoneticType::class)]
class PhoneticTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PhoneticType('label');
}
diff --git a/tests/app/Elements/PhysicalDescriptionTest.php b/tests/app/Elements/PhysicalDescriptionTest.php
index 1fb4393dfe..11f93df779 100644
--- a/tests/app/Elements/PhysicalDescriptionTest.php
+++ b/tests/app/Elements/PhysicalDescriptionTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PhysicalDescription::class)]
class PhysicalDescriptionTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PhysicalDescription('label');
}
diff --git a/tests/app/Elements/PlaceHierarchyTest.php b/tests/app/Elements/PlaceHierarchyTest.php
index 3a71a7a6c8..7225047656 100644
--- a/tests/app/Elements/PlaceHierarchyTest.php
+++ b/tests/app/Elements/PlaceHierarchyTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceHierarchy::class)]
class PlaceHierarchyTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlaceHierarchy('label');
}
diff --git a/tests/app/Elements/PlaceLatitudeTest.php b/tests/app/Elements/PlaceLatitudeTest.php
index fdbfa95709..94b8f7d557 100644
--- a/tests/app/Elements/PlaceLatitudeTest.php
+++ b/tests/app/Elements/PlaceLatitudeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLatitude::class)]
class PlaceLatitudeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlaceLatitude('label');
}
diff --git a/tests/app/Elements/PlaceLivingOrdinanceTest.php b/tests/app/Elements/PlaceLivingOrdinanceTest.php
index 47b271f084..ed309b1413 100644
--- a/tests/app/Elements/PlaceLivingOrdinanceTest.php
+++ b/tests/app/Elements/PlaceLivingOrdinanceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLivingOrdinance::class)]
class PlaceLivingOrdinanceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlaceLivingOrdinance('label');
}
diff --git a/tests/app/Elements/PlaceLongtitudeTest.php b/tests/app/Elements/PlaceLongtitudeTest.php
index 2b88ec4310..ddf24d4ce5 100644
--- a/tests/app/Elements/PlaceLongtitudeTest.php
+++ b/tests/app/Elements/PlaceLongtitudeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLongtitude::class)]
class PlaceLongtitudeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlaceLongtitude('label');
}
diff --git a/tests/app/Elements/PlaceNameTest.php b/tests/app/Elements/PlaceNameTest.php
index 31b3d81338..ae278182ac 100644
--- a/tests/app/Elements/PlaceNameTest.php
+++ b/tests/app/Elements/PlaceNameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceName::class)]
class PlaceNameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlaceName('label');
}
diff --git a/tests/app/Elements/PlacePhoneticVariationTest.php b/tests/app/Elements/PlacePhoneticVariationTest.php
index 0ef8911c95..2c4e4ff777 100644
--- a/tests/app/Elements/PlacePhoneticVariationTest.php
+++ b/tests/app/Elements/PlacePhoneticVariationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlacePhoneticVariation::class)]
class PlacePhoneticVariationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlacePhoneticVariation('label');
}
diff --git a/tests/app/Elements/PlaceRomanizedVariationTest.php b/tests/app/Elements/PlaceRomanizedVariationTest.php
index 92eea23578..6393b12f6b 100644
--- a/tests/app/Elements/PlaceRomanizedVariationTest.php
+++ b/tests/app/Elements/PlaceRomanizedVariationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceRomanizedVariation::class)]
class PlaceRomanizedVariationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PlaceRomanizedVariation('label');
}
diff --git a/tests/app/Elements/PossessionsTest.php b/tests/app/Elements/PossessionsTest.php
index 20ebef1843..6116ec52a1 100644
--- a/tests/app/Elements/PossessionsTest.php
+++ b/tests/app/Elements/PossessionsTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Possessions::class)]
class PossessionsTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Possessions('label');
}
diff --git a/tests/app/Elements/ProbateTest.php b/tests/app/Elements/ProbateTest.php
index 3b90363535..ac3273a346 100644
--- a/tests/app/Elements/ProbateTest.php
+++ b/tests/app/Elements/ProbateTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Probate::class)]
class ProbateTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Probate('label');
}
diff --git a/tests/app/Elements/PublicationDateTest.php b/tests/app/Elements/PublicationDateTest.php
index 57f9be6798..51fd69fae5 100644
--- a/tests/app/Elements/PublicationDateTest.php
+++ b/tests/app/Elements/PublicationDateTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PublicationDate::class)]
class PublicationDateTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new PublicationDate('label');
}
diff --git a/tests/app/Elements/ReceivingSystemNameTest.php b/tests/app/Elements/ReceivingSystemNameTest.php
index 1dde810648..e89b8cc1d1 100644
--- a/tests/app/Elements/ReceivingSystemNameTest.php
+++ b/tests/app/Elements/ReceivingSystemNameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ReceivingSystemName::class)]
class ReceivingSystemNameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ReceivingSystemName('label');
}
diff --git a/tests/app/Elements/RelationIsDescriptorTest.php b/tests/app/Elements/RelationIsDescriptorTest.php
index 6e3eb50328..501d490dcd 100644
--- a/tests/app/Elements/RelationIsDescriptorTest.php
+++ b/tests/app/Elements/RelationIsDescriptorTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RelationIsDescriptor::class)]
class RelationIsDescriptorTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new RelationIsDescriptor('label');
}
diff --git a/tests/app/Elements/ReligiousAffiliationTest.php b/tests/app/Elements/ReligiousAffiliationTest.php
index 6bb7805397..0f92b1c290 100644
--- a/tests/app/Elements/ReligiousAffiliationTest.php
+++ b/tests/app/Elements/ReligiousAffiliationTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ReligiousAffiliation::class)]
class ReligiousAffiliationTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ReligiousAffiliation('label');
}
diff --git a/tests/app/Elements/RepositoryRecordTest.php b/tests/app/Elements/RepositoryRecordTest.php
index 9bb553f19c..5a3699ce8c 100644
--- a/tests/app/Elements/RepositoryRecordTest.php
+++ b/tests/app/Elements/RepositoryRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RepositoryRecord::class)]
class RepositoryRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new RepositoryRecord('label');
}
diff --git a/tests/app/Elements/ResearchTaskPriorityTest.php b/tests/app/Elements/ResearchTaskPriorityTest.php
index f899b56f92..242fe18802 100644
--- a/tests/app/Elements/ResearchTaskPriorityTest.php
+++ b/tests/app/Elements/ResearchTaskPriorityTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskPriority::class)]
class ResearchTaskPriorityTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ResearchTaskPriority('label');
}
diff --git a/tests/app/Elements/ResearchTaskStatusTest.php b/tests/app/Elements/ResearchTaskStatusTest.php
index cfa58de27a..2e11be9f9f 100644
--- a/tests/app/Elements/ResearchTaskStatusTest.php
+++ b/tests/app/Elements/ResearchTaskStatusTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskStatus::class)]
class ResearchTaskStatusTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ResearchTaskStatus('label');
}
diff --git a/tests/app/Elements/ResearchTaskTest.php b/tests/app/Elements/ResearchTaskTest.php
index f4756c21ad..7c27a5f463 100644
--- a/tests/app/Elements/ResearchTaskTest.php
+++ b/tests/app/Elements/ResearchTaskTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTask::class)]
class ResearchTaskTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ResearchTask('label');
}
diff --git a/tests/app/Elements/ResearchTaskTypeTest.php b/tests/app/Elements/ResearchTaskTypeTest.php
index 03d0b5de2d..c45ac660de 100644
--- a/tests/app/Elements/ResearchTaskTypeTest.php
+++ b/tests/app/Elements/ResearchTaskTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResearchTaskType::class)]
class ResearchTaskTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ResearchTaskType('label');
}
diff --git a/tests/app/Elements/ResidenceTest.php b/tests/app/Elements/ResidenceTest.php
index 29e1d78726..8fb49e46b6 100644
--- a/tests/app/Elements/ResidenceTest.php
+++ b/tests/app/Elements/ResidenceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Residence::class)]
class ResidenceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Residence('label');
}
diff --git a/tests/app/Elements/ResponsibleAgencyTest.php b/tests/app/Elements/ResponsibleAgencyTest.php
index 2bf863ab91..b7417d3025 100644
--- a/tests/app/Elements/ResponsibleAgencyTest.php
+++ b/tests/app/Elements/ResponsibleAgencyTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ResponsibleAgency::class)]
class ResponsibleAgencyTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ResponsibleAgency('label');
}
diff --git a/tests/app/Elements/RestrictionNoticeTest.php b/tests/app/Elements/RestrictionNoticeTest.php
index 0f3c516220..9d764a2791 100644
--- a/tests/app/Elements/RestrictionNoticeTest.php
+++ b/tests/app/Elements/RestrictionNoticeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RestrictionNotice::class)]
class RestrictionNoticeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new RestrictionNotice('label');
}
diff --git a/tests/app/Elements/RetirementTest.php b/tests/app/Elements/RetirementTest.php
index ec11ed10df..d96009d8e7 100644
--- a/tests/app/Elements/RetirementTest.php
+++ b/tests/app/Elements/RetirementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Retirement::class)]
class RetirementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Retirement('label');
}
diff --git a/tests/app/Elements/RoleInEventTest.php b/tests/app/Elements/RoleInEventTest.php
index 1ea7bf89fb..c49bae07ed 100644
--- a/tests/app/Elements/RoleInEventTest.php
+++ b/tests/app/Elements/RoleInEventTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RoleInEvent::class)]
class RoleInEventTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new RoleInEvent('label');
}
diff --git a/tests/app/Elements/RomanizedTypeTest.php b/tests/app/Elements/RomanizedTypeTest.php
index acb6a27d58..631bea6fb9 100644
--- a/tests/app/Elements/RomanizedTypeTest.php
+++ b/tests/app/Elements/RomanizedTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RomanizedType::class)]
class RomanizedTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new RomanizedType('label');
}
diff --git a/tests/app/Elements/ScholasticAchievementTest.php b/tests/app/Elements/ScholasticAchievementTest.php
index 1f12acc573..bfda522d9a 100644
--- a/tests/app/Elements/ScholasticAchievementTest.php
+++ b/tests/app/Elements/ScholasticAchievementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ScholasticAchievement::class)]
class ScholasticAchievementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new ScholasticAchievement('label');
}
diff --git a/tests/app/Elements/SexValueTest.php b/tests/app/Elements/SexValueTest.php
index 3ade971a6e..9e473b79f1 100644
--- a/tests/app/Elements/SexValueTest.php
+++ b/tests/app/Elements/SexValueTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SexValue::class)]
class SexValueTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SexValue('label');
}
diff --git a/tests/app/Elements/SexXValueTest.php b/tests/app/Elements/SexXValueTest.php
index 23f46b3d48..086541684d 100644
--- a/tests/app/Elements/SexXValueTest.php
+++ b/tests/app/Elements/SexXValueTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SexXValue::class)]
class SexXValueTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SexXValue('label');
}
diff --git a/tests/app/Elements/SocialSecurityNumberTest.php b/tests/app/Elements/SocialSecurityNumberTest.php
index 4f715cc79a..7cf532da45 100644
--- a/tests/app/Elements/SocialSecurityNumberTest.php
+++ b/tests/app/Elements/SocialSecurityNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SocialSecurityNumber::class)]
class SocialSecurityNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SocialSecurityNumber('label');
}
diff --git a/tests/app/Elements/SourceCallNumberTest.php b/tests/app/Elements/SourceCallNumberTest.php
index e2f1426d24..f4b33fee5e 100644
--- a/tests/app/Elements/SourceCallNumberTest.php
+++ b/tests/app/Elements/SourceCallNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceCallNumber::class)]
class SourceCallNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceCallNumber('label');
}
diff --git a/tests/app/Elements/SourceDataTest.php b/tests/app/Elements/SourceDataTest.php
index e314c073ef..cef8a1f6ad 100644
--- a/tests/app/Elements/SourceDataTest.php
+++ b/tests/app/Elements/SourceDataTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceData::class)]
class SourceDataTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceData('label');
}
diff --git a/tests/app/Elements/SourceDescriptiveTitleTest.php b/tests/app/Elements/SourceDescriptiveTitleTest.php
index c7cf4b4456..e6410d463c 100644
--- a/tests/app/Elements/SourceDescriptiveTitleTest.php
+++ b/tests/app/Elements/SourceDescriptiveTitleTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceDescriptiveTitle::class)]
class SourceDescriptiveTitleTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceDescriptiveTitle('label');
}
diff --git a/tests/app/Elements/SourceFiledByEntryTest.php b/tests/app/Elements/SourceFiledByEntryTest.php
index b5750114e6..afac7b2c93 100644
--- a/tests/app/Elements/SourceFiledByEntryTest.php
+++ b/tests/app/Elements/SourceFiledByEntryTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceFiledByEntry::class)]
class SourceFiledByEntryTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceFiledByEntry('label');
}
diff --git a/tests/app/Elements/SourceJurisdictionPlaceTest.php b/tests/app/Elements/SourceJurisdictionPlaceTest.php
index 8a12509ebc..cf7c21b3d0 100644
--- a/tests/app/Elements/SourceJurisdictionPlaceTest.php
+++ b/tests/app/Elements/SourceJurisdictionPlaceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceJurisdictionPlace::class)]
class SourceJurisdictionPlaceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceJurisdictionPlace('label');
}
diff --git a/tests/app/Elements/SourceMediaTypeTest.php b/tests/app/Elements/SourceMediaTypeTest.php
index c182098439..662c801f5e 100644
--- a/tests/app/Elements/SourceMediaTypeTest.php
+++ b/tests/app/Elements/SourceMediaTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceMediaType::class)]
class SourceMediaTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceMediaType('label');
}
diff --git a/tests/app/Elements/SourceOriginatorTest.php b/tests/app/Elements/SourceOriginatorTest.php
index b56158cf65..7a056cf08c 100644
--- a/tests/app/Elements/SourceOriginatorTest.php
+++ b/tests/app/Elements/SourceOriginatorTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceOriginator::class)]
class SourceOriginatorTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceOriginator('label');
}
diff --git a/tests/app/Elements/SourcePublicationFactsTest.php b/tests/app/Elements/SourcePublicationFactsTest.php
index d3c36aea3f..1075a1d9c9 100644
--- a/tests/app/Elements/SourcePublicationFactsTest.php
+++ b/tests/app/Elements/SourcePublicationFactsTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourcePublicationFacts::class)]
class SourcePublicationFactsTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourcePublicationFacts('label');
}
diff --git a/tests/app/Elements/SourceRecordTest.php b/tests/app/Elements/SourceRecordTest.php
index 2a92961f1d..6634f232ed 100644
--- a/tests/app/Elements/SourceRecordTest.php
+++ b/tests/app/Elements/SourceRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SourceRecord::class)]
class SourceRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SourceRecord('label');
}
diff --git a/tests/app/Elements/SubmissionRecordTest.php b/tests/app/Elements/SubmissionRecordTest.php
index 7c5f917441..b964596836 100644
--- a/tests/app/Elements/SubmissionRecordTest.php
+++ b/tests/app/Elements/SubmissionRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmissionRecord::class)]
class SubmissionRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SubmissionRecord('label');
}
diff --git a/tests/app/Elements/SubmitterNameTest.php b/tests/app/Elements/SubmitterNameTest.php
index 3967cf06f4..c4950d29ee 100644
--- a/tests/app/Elements/SubmitterNameTest.php
+++ b/tests/app/Elements/SubmitterNameTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterName::class)]
class SubmitterNameTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SubmitterName('label');
}
diff --git a/tests/app/Elements/SubmitterRecordTest.php b/tests/app/Elements/SubmitterRecordTest.php
index c3f639200d..47ff21f7cd 100644
--- a/tests/app/Elements/SubmitterRecordTest.php
+++ b/tests/app/Elements/SubmitterRecordTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterRecord::class)]
class SubmitterRecordTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SubmitterRecord('label');
}
diff --git a/tests/app/Elements/SubmitterRegisteredRfnTest.php b/tests/app/Elements/SubmitterRegisteredRfnTest.php
index b9eb53931c..3af73709ed 100644
--- a/tests/app/Elements/SubmitterRegisteredRfnTest.php
+++ b/tests/app/Elements/SubmitterRegisteredRfnTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterRegisteredRfn::class)]
class SubmitterRegisteredRfnTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SubmitterRegisteredRfn('label');
}
diff --git a/tests/app/Elements/SubmitterTextTest.php b/tests/app/Elements/SubmitterTextTest.php
index 4d85a3219c..2dfe27c821 100644
--- a/tests/app/Elements/SubmitterTextTest.php
+++ b/tests/app/Elements/SubmitterTextTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SubmitterText::class)]
class SubmitterTextTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new SubmitterText('label');
}
diff --git a/tests/app/Elements/TempleCodeTest.php b/tests/app/Elements/TempleCodeTest.php
index ae5d7f33a3..4b57d0a95e 100644
--- a/tests/app/Elements/TempleCodeTest.php
+++ b/tests/app/Elements/TempleCodeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TempleCode::class)]
class TempleCodeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new TempleCode('label');
}
diff --git a/tests/app/Elements/TextFromSourceTest.php b/tests/app/Elements/TextFromSourceTest.php
index f9df99144e..eb5bfd29a6 100644
--- a/tests/app/Elements/TextFromSourceTest.php
+++ b/tests/app/Elements/TextFromSourceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TextFromSource::class)]
class TextFromSourceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new TextFromSource('label');
}
diff --git a/tests/app/Elements/TimeValueTest.php b/tests/app/Elements/TimeValueTest.php
index 72093a056a..4706e67f2b 100644
--- a/tests/app/Elements/TimeValueTest.php
+++ b/tests/app/Elements/TimeValueTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TimeValue::class)]
class TimeValueTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new TimeValue('label');
}
diff --git a/tests/app/Elements/TransmissionDateTest.php b/tests/app/Elements/TransmissionDateTest.php
index daacfa31bc..4e9881611c 100644
--- a/tests/app/Elements/TransmissionDateTest.php
+++ b/tests/app/Elements/TransmissionDateTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(TransmissionDate::class)]
class TransmissionDateTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new TransmissionDate('label');
}
diff --git a/tests/app/Elements/UidTest.php b/tests/app/Elements/UidTest.php
index 07ad37882a..2154d14f0d 100644
--- a/tests/app/Elements/UidTest.php
+++ b/tests/app/Elements/UidTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Uid::class)]
class UidTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Uid('label');
}
diff --git a/tests/app/Elements/UnknownElementTest.php b/tests/app/Elements/UnknownElementTest.php
index 9dbb3636be..97e41c9e94 100644
--- a/tests/app/Elements/UnknownElementTest.php
+++ b/tests/app/Elements/UnknownElementTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UnknownElement::class)]
class UnknownElementTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new UnknownElement('label');
}
diff --git a/tests/app/Elements/UserReferenceNumberTest.php b/tests/app/Elements/UserReferenceNumberTest.php
index 3c981d2457..800fd002ff 100644
--- a/tests/app/Elements/UserReferenceNumberTest.php
+++ b/tests/app/Elements/UserReferenceNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserReferenceNumber::class)]
class UserReferenceNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new UserReferenceNumber('label');
}
diff --git a/tests/app/Elements/UserReferenceTypeTest.php b/tests/app/Elements/UserReferenceTypeTest.php
index 3be0e732a8..7d4ef5b4f3 100644
--- a/tests/app/Elements/UserReferenceTypeTest.php
+++ b/tests/app/Elements/UserReferenceTypeTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(UserReferenceType::class)]
class UserReferenceTypeTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new UserReferenceType('label');
}
diff --git a/tests/app/Elements/VersionNumberTest.php b/tests/app/Elements/VersionNumberTest.php
index a9a466913e..1c98af4af0 100644
--- a/tests/app/Elements/VersionNumberTest.php
+++ b/tests/app/Elements/VersionNumberTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(VersionNumber::class)]
class VersionNumberTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new VersionNumber('label');
}
diff --git a/tests/app/Elements/WebtreesUserTest.php b/tests/app/Elements/WebtreesUserTest.php
index c73bf70e1c..0b6a27e1e8 100644
--- a/tests/app/Elements/WebtreesUserTest.php
+++ b/tests/app/Elements/WebtreesUserTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(WebtreesUser::class)]
class WebtreesUserTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new WebtreesUser('label');
}
diff --git a/tests/app/Elements/WhereWithinSourceTest.php b/tests/app/Elements/WhereWithinSourceTest.php
index 0d58fc461b..bcb3ac6849 100644
--- a/tests/app/Elements/WhereWithinSourceTest.php
+++ b/tests/app/Elements/WhereWithinSourceTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(WhereWithinSource::class)]
class WhereWithinSourceTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new WhereWithinSource('label');
}
diff --git a/tests/app/Elements/WillTest.php b/tests/app/Elements/WillTest.php
index 5713e90188..9b91b5f786 100644
--- a/tests/app/Elements/WillTest.php
+++ b/tests/app/Elements/WillTest.php
@@ -25,9 +25,9 @@ use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Will::class)]
class WillTest extends AbstractElementTestCase
{
- public static function setUpBeforeClass(): void
+ public function setUp(): void
{
- parent::setUpBeforeClass();
+ parent::setUp();
self::$element = new Will('label');
}
diff --git a/tests/app/Factories/EncodingFactoryTest.php b/tests/app/Factories/EncodingFactoryTest.php
index 5924405a88..7b734709f4 100644
--- a/tests/app/Factories/EncodingFactoryTest.php
+++ b/tests/app/Factories/EncodingFactoryTest.php
@@ -24,7 +24,6 @@ use Fisharebest\Webtrees\Encodings\ANSEL;
use Fisharebest\Webtrees\Encodings\ASCII;
use Fisharebest\Webtrees\Encodings\CP437;
use Fisharebest\Webtrees\Encodings\CP850;
-use Fisharebest\Webtrees\Encodings\EncodingInterface;
use Fisharebest\Webtrees\Encodings\MacRoman;
use Fisharebest\Webtrees\Encodings\UTF16BE;
use Fisharebest\Webtrees\Encodings\UTF16LE;
diff --git a/tests/app/GedcomTest.php b/tests/app/GedcomTest.php
index 81b8de294c..36ee116a53 100644
--- a/tests/app/GedcomTest.php
+++ b/tests/app/GedcomTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Gedcom::class)]
diff --git a/tests/app/GuestUserTest.php b/tests/app/GuestUserTest.php
index 6b5543ec8f..fcccc9e0e6 100644
--- a/tests/app/GuestUserTest.php
+++ b/tests/app/GuestUserTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\Contracts\UserInterface;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(GuestUser::class)]
diff --git a/tests/app/HeaderTest.php b/tests/app/HeaderTest.php
index 0fa3789dfb..5f6b0cff88 100644
--- a/tests/app/HeaderTest.php
+++ b/tests/app/HeaderTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Header::class)]
diff --git a/tests/app/HtmlTest.php b/tests/app/HtmlTest.php
index cf45d1738f..f88b1f611a 100644
--- a/tests/app/HtmlTest.php
+++ b/tests/app/HtmlTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Html::class)]
diff --git a/tests/app/Http/Middleware/HandleExceptionsTest.php b/tests/app/Http/Middleware/HandleExceptionsTest.php
index f09ac13858..21a1771e3b 100644
--- a/tests/app/Http/Middleware/HandleExceptionsTest.php
+++ b/tests/app/Http/Middleware/HandleExceptionsTest.php
@@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
use Fisharebest\Webtrees\Services\PhpService;
use Fisharebest\Webtrees\Services\TreeService;
-use Fisharebest\Webtrees\Services\UserService;
use Fisharebest\Webtrees\TestCase;
use Illuminate\Support\Collection;
use PHPUnit\Framework\Attributes\CoversClass;
diff --git a/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php b/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php
index b0e3470d1e..2f01c3a51f 100644
--- a/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectCompactPhpTest.php
@@ -26,7 +26,6 @@ use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\CompactTreeChartModule;
use Fisharebest\Webtrees\Module\ModuleChartInterface;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
use Fisharebest\Webtrees\Services\TreeService;
diff --git a/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php b/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php
index 809f123415..7a2090fd70 100644
--- a/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectDescendancyPhpTest.php
@@ -26,7 +26,6 @@ use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\DescendancyChartModule;
use Fisharebest\Webtrees\Module\ModuleChartInterface;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
use Fisharebest\Webtrees\Services\TreeService;
diff --git a/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php b/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php
index af6e1d0baa..9adb2f090b 100644
--- a/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectFamilyBookPhpTest.php
@@ -26,7 +26,6 @@ use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\FamilyBookChartModule;
use Fisharebest\Webtrees\Module\ModuleChartInterface;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
use Fisharebest\Webtrees\Services\TreeService;
diff --git a/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php b/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php
index deb1505d46..a88351d089 100644
--- a/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectModulePhpTest.php
@@ -25,7 +25,6 @@ use Fisharebest\Webtrees\Factories\IndividualFactory;
use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\InteractiveTreeModule;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Module\PedigreeMapModule;
use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
diff --git a/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php b/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php
index 92d0475c8b..2a28e86840 100644
--- a/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectRelationshipPhpTest.php
@@ -26,7 +26,6 @@ use Fisharebest\Webtrees\GuestUser;
use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\ModuleChartInterface;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Module\RelationshipsChartModule;
use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
diff --git a/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php b/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php
index 17a68e94df..b633c58141 100644
--- a/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectStatisticsPhpTest.php
@@ -24,7 +24,6 @@ use Fig\Http\Message\StatusCodeInterface;
use Fisharebest\Webtrees\GuestUser;
use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Module\ModuleChartInterface;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Module\StatisticsChartModule;
use Fisharebest\Webtrees\Services\ModuleService;
use Fisharebest\Webtrees\Services\TreeService;
diff --git a/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php b/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php
index 177ffdd93f..bd222bb62a 100644
--- a/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php
+++ b/tests/app/Http/RequestHandlers/RedirectTimeLinePhpTest.php
@@ -26,7 +26,6 @@ use Fisharebest\Webtrees\GuestUser;
use Fisharebest\Webtrees\Http\Exceptions\HttpGoneException;
use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\ModuleChartInterface;
-use Fisharebest\Webtrees\Module\ModuleListInterface;
use Fisharebest\Webtrees\Module\TimelineChartModule;
use Fisharebest\Webtrees\Registry;
use Fisharebest\Webtrees\Services\ModuleService;
diff --git a/tests/app/LocationTest.php b/tests/app/LocationTest.php
index 0627b35c54..3b1b3b973c 100644
--- a/tests/app/LocationTest.php
+++ b/tests/app/LocationTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Location::class)]
diff --git a/tests/app/MediaFileTest.php b/tests/app/MediaFileTest.php
index b5a4d608d9..9d875565c5 100644
--- a/tests/app/MediaFileTest.php
+++ b/tests/app/MediaFileTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(MediaFile::class)]
diff --git a/tests/app/MimeTest.php b/tests/app/MimeTest.php
index c4a437fde4..4901390254 100644
--- a/tests/app/MimeTest.php
+++ b/tests/app/MimeTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Mime::class)]
diff --git a/tests/app/Module/FixDuplicateLinksTest.php b/tests/app/Module/FixDuplicateLinksTest.php
index 79c84e7918..b918bc1f30 100644
--- a/tests/app/Module/FixDuplicateLinksTest.php
+++ b/tests/app/Module/FixDuplicateLinksTest.php
@@ -27,7 +27,6 @@ use Fisharebest\Webtrees\Services\UserService;
use Fisharebest\Webtrees\Session;
use Fisharebest\Webtrees\TestCase;
use Fisharebest\Webtrees\Tree;
-use Illuminate\Support\Collection;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(FixDuplicateLinks::class)]
diff --git a/tests/app/NoReplyUserTest.php b/tests/app/NoReplyUserTest.php
index f6249fb77e..17b7e056d5 100644
--- a/tests/app/NoReplyUserTest.php
+++ b/tests/app/NoReplyUserTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\Contracts\UserInterface;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(NoReplyUser::class)]
diff --git a/tests/app/PlaceLocationTest.php b/tests/app/PlaceLocationTest.php
index 1b7ac583d2..dd98816968 100644
--- a/tests/app/PlaceLocationTest.php
+++ b/tests/app/PlaceLocationTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PlaceLocation::class)]
diff --git a/tests/app/RegistryTest.php b/tests/app/RegistryTest.php
index 617d42bf03..1309cfdae6 100644
--- a/tests/app/RegistryTest.php
+++ b/tests/app/RegistryTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Registry::class)]
diff --git a/tests/app/RelationshipTest.php b/tests/app/RelationshipTest.php
index fce390fd59..d2e624dfc6 100644
--- a/tests/app/RelationshipTest.php
+++ b/tests/app/RelationshipTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Relationship::class)]
diff --git a/tests/app/Services/GedcomEditServiceTest.php b/tests/app/Services/GedcomEditServiceTest.php
index 99c603ee1c..4c4956f904 100644
--- a/tests/app/Services/GedcomEditServiceTest.php
+++ b/tests/app/Services/GedcomEditServiceTest.php
@@ -20,7 +20,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees\Services;
use Fisharebest\Webtrees\Fact;
-use Fisharebest\Webtrees\Http\RequestHandlers\FixLevel0MediaDataTest;
use Fisharebest\Webtrees\TestCase;
use Fisharebest\Webtrees\Tree;
use PHPUnit\Framework\Attributes\CoversClass;
diff --git a/tests/app/Services/ModuleServiceTest.php b/tests/app/Services/ModuleServiceTest.php
index 065e0c6e5f..7ae3218bc0 100644
--- a/tests/app/Services/ModuleServiceTest.php
+++ b/tests/app/Services/ModuleServiceTest.php
@@ -33,7 +33,6 @@ use Fisharebest\Webtrees\Module\ModuleSidebarInterface;
use Fisharebest\Webtrees\Module\ModuleTabInterface;
use Fisharebest\Webtrees\Module\ModuleThemeInterface;
use Fisharebest\Webtrees\TestCase;
-use Fisharebest\Webtrees\Webtrees;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ModuleService::class)]
diff --git a/tests/app/Services/SearchServiceTest.php b/tests/app/Services/SearchServiceTest.php
index 155fa92c31..a416b4e69a 100644
--- a/tests/app/Services/SearchServiceTest.php
+++ b/tests/app/Services/SearchServiceTest.php
@@ -22,7 +22,6 @@ namespace Fisharebest\Webtrees\Services;
use Fisharebest\Webtrees\Auth;
use Fisharebest\Webtrees\Contracts\UserInterface;
use Fisharebest\Webtrees\TestCase;
-use Illuminate\Support\Collection;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SearchService::class)]
diff --git a/tests/app/SessionDatabaseHandlerTest.php b/tests/app/SessionDatabaseHandlerTest.php
index 27ce045f3f..269591903c 100644
--- a/tests/app/SessionDatabaseHandlerTest.php
+++ b/tests/app/SessionDatabaseHandlerTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SessionDatabaseHandler::class)]
diff --git a/tests/app/SessionTest.php b/tests/app/SessionTest.php
index 53ece77523..6ee9159008 100644
--- a/tests/app/SessionTest.php
+++ b/tests/app/SessionTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Session::class)]
diff --git a/tests/app/SharedNoteTest.php b/tests/app/SharedNoteTest.php
index a9002c6321..9c5c35365d 100644
--- a/tests/app/SharedNoteTest.php
+++ b/tests/app/SharedNoteTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SharedNote::class)]
diff --git a/tests/app/SiteUserTest.php b/tests/app/SiteUserTest.php
index b4de3bfa86..fe285adef7 100644
--- a/tests/app/SiteUserTest.php
+++ b/tests/app/SiteUserTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\Contracts\UserInterface;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(SiteUser::class)]
diff --git a/tests/app/StatisticsTest.php b/tests/app/StatisticsTest.php
index 2efe7a4330..842069e531 100644
--- a/tests/app/StatisticsTest.php
+++ b/tests/app/StatisticsTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Statistics::class)]
diff --git a/tests/app/SubmissionTest.php b/tests/app/SubmissionTest.php
index c9a36a0831..c30c5bd56d 100644
--- a/tests/app/SubmissionTest.php
+++ b/tests/app/SubmissionTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Submission::class)]
diff --git a/tests/app/SubmitterTest.php b/tests/app/SubmitterTest.php
index bdacdbd3db..de3b700786 100644
--- a/tests/app/SubmitterTest.php
+++ b/tests/app/SubmitterTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(Submitter::class)]
diff --git a/tests/app/TreeUserTest.php b/tests/app/TreeUserTest.php
index c372362684..740a748fe2 100644
--- a/tests/app/TreeUserTest.php
+++ b/tests/app/TreeUserTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\Contracts\UserInterface;
use Fisharebest\Webtrees\Services\GedcomImportService;
use Fisharebest\Webtrees\Services\TreeService;
use PHPUnit\Framework\Attributes\CoversClass;
diff --git a/tests/app/UserTest.php b/tests/app/UserTest.php
index a2b89d68c6..1f96552df9 100644
--- a/tests/app/UserTest.php
+++ b/tests/app/UserTest.php
@@ -20,7 +20,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
use Fisharebest\Webtrees\Contracts\CacheFactoryInterface;
-use Fisharebest\Webtrees\Contracts\UserInterface;
use Fisharebest\Webtrees\Services\UserService;
use PHPUnit\Framework\Attributes\CoversClass;
use Symfony\Component\Cache\Adapter\NullAdapter;
diff --git a/tests/app/ViewTest.php b/tests/app/ViewTest.php
index af9fb70190..06d4431d45 100644
--- a/tests/app/ViewTest.php
+++ b/tests/app/ViewTest.php
@@ -19,7 +19,6 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees;
-use Fisharebest\Webtrees\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(View::class)]
diff --git a/tests/feature/RelationshipNamesTest.php b/tests/feature/RelationshipNamesTest.php
index 8ae7e36cea..1d8673e090 100644
--- a/tests/feature/RelationshipNamesTest.php
+++ b/tests/feature/RelationshipNamesTest.php
@@ -27,7 +27,6 @@ use Fisharebest\Webtrees\Module\LanguageEnglishUnitedStates;
use Fisharebest\Webtrees\Module\LanguageFrench;
use Fisharebest\Webtrees\Module\LanguageSlovakian;
use Fisharebest\Webtrees\Module\ModuleLanguageInterface;
-use Fisharebest\Webtrees\Module\ModuleLanguageTrait;
use Fisharebest\Webtrees\Services\RelationshipService;
use PHPUnit\Framework\Attributes\CoversClass;