diff options
Diffstat (limited to 'tests/feature/IndividualListTest.php')
| -rw-r--r-- | tests/feature/IndividualListTest.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/feature/IndividualListTest.php b/tests/feature/IndividualListTest.php index c852df8ae4..c001d3cf63 100644 --- a/tests/feature/IndividualListTest.php +++ b/tests/feature/IndividualListTest.php @@ -42,11 +42,8 @@ class IndividualListTest extends TestCase */ public function testIndividualList(): void { - $tree = $this->importTree('demo.ged'); - $user = Auth::user(); - app()->instance(Tree::class, $tree); - app()->instance(User::class, $user); - + $tree = $this->importTree('demo.ged'); + $user = Auth::user(); $list_module = new IndividualListModule(); $localization_service = new LocalizationService(new LocaleEnUs()); $individual_list_service = new IndividualListService($localization_service, $tree); |
