summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Jaubart <dev@jaubart.com>2022-10-16 21:19:55 +0100
committerGitHub <noreply@github.com>2022-10-16 21:19:55 +0100
commit0be3fcd171a79f4c1b2d73ea0cb22e6327d923f2 (patch)
tree731770f2c8805b3c3b4b9ab66c0335a01acba890
parenta2fcce9581c26d096fdb7b32e000ae6c03816e18 (diff)
downloadwebtrees-0be3fcd171a79f4c1b2d73ea0cb22e6327d923f2.tar.gz
webtrees-0be3fcd171a79f4c1b2d73ea0cb22e6327d923f2.tar.bz2
webtrees-0be3fcd171a79f4c1b2d73ea0cb22e6327d923f2.zip
Change order of I18N initialisation in webtrees Test Case (#4579)
-rw-r--r--tests/TestCase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 2a9b8f39fd..4f529ea497 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -94,13 +94,13 @@ class TestCase extends \PHPUnit\Framework\TestCase
if (static::$uses_database) {
static::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);
}