diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-03-03 16:43:59 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-03-03 16:54:21 +0000 |
| commit | bd1e4e13bc7083d954025fb0e640450409c7175b (patch) | |
| tree | 4334dedf2f970cab06cce9a1a9a48b6468c5c706 /tests/TestCase.php | |
| parent | f39638cf364f3e81ea17e345fd3989e93e12d62a (diff) | |
| download | webtrees-bd1e4e13bc7083d954025fb0e640450409c7175b.tar.gz webtrees-bd1e4e13bc7083d954025fb0e640450409c7175b.tar.bz2 webtrees-bd1e4e13bc7083d954025fb0e640450409c7175b.zip | |
Testing
Diffstat (limited to 'tests/TestCase.php')
| -rw-r--r-- | tests/TestCase.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php index 345c736064..f6a84cc57c 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -17,6 +17,8 @@ declare(strict_types=1); namespace Fisharebest\Webtrees; +use Fisharebest\Localization\Locale\LocaleEnUs; +use Fisharebest\Localization\Locale\LocaleInterface; use Fisharebest\Webtrees\Contracts\UserInterface; use Fisharebest\Webtrees\Http\Controllers\GedcomFileController; use Fisharebest\Webtrees\Module\ModuleThemeInterface; @@ -88,6 +90,7 @@ class TestCase extends \PHPUnit\Framework\TestCase app()->instance(Filesystem::class, new Filesystem(new MemoryAdapter())); app()->bind(ModuleThemeInterface::class, WebtreesTheme::class); + app()->bind(LocaleInterface::class, LocaleEnUs::class); defined('WT_ROOT') || define('WT_ROOT', dirname(__DIR__) . '/'); defined('WT_BASE_URL') || define('WT_BASE_URL', 'http://localhost/'); |
