diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/TestCase.php | 3 | ||||
| -rw-r--r-- | tests/app/Services/GedcomEditServiceTest.php | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php index 15bc6aad75..113e146bb0 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -96,6 +96,9 @@ class TestCase extends \PHPUnit\Framework\TestCase if (static::$uses_database) { static::createTestDatabase(); + // This is normally set in middleware. + (new Gedcom())->registerTags(); + // Boot modules (new ModuleService())->bootModules(new WebtreesTheme()); } diff --git a/tests/app/Services/GedcomEditServiceTest.php b/tests/app/Services/GedcomEditServiceTest.php index f8bc4f8f1d..2924d9b701 100644 --- a/tests/app/Services/GedcomEditServiceTest.php +++ b/tests/app/Services/GedcomEditServiceTest.php @@ -28,6 +28,8 @@ use Fisharebest\Webtrees\TestCase; */ class GedcomEditServiceTest extends TestCase { + protected static bool $uses_database = true; + /** * @covers \Fisharebest\Webtrees\Services\GedcomEditService::editLinesToGedcom */ |
