diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-10-17 16:41:55 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-10-17 17:09:14 +0100 |
| commit | 953f11988d09a6cba4eb7cf9a517539ee72ed23c (patch) | |
| tree | c332ea006be1dded99259fbfd0d50a1dd1632cc4 /tests/app/Module/DescendancyReportModuleTest.php | |
| parent | 7fef921100eb7e3eb34986f37a55753975dad1ba (diff) | |
| download | webtrees-953f11988d09a6cba4eb7cf9a517539ee72ed23c.tar.gz webtrees-953f11988d09a6cba4eb7cf9a517539ee72ed23c.tar.bz2 webtrees-953f11988d09a6cba4eb7cf9a517539ee72ed23c.zip | |
Avoid using the IoC container in unit tests
Diffstat (limited to 'tests/app/Module/DescendancyReportModuleTest.php')
| -rw-r--r-- | tests/app/Module/DescendancyReportModuleTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php index f0f4d587b0..f156c57e6e 100644 --- a/tests/app/Module/DescendancyReportModuleTest.php +++ b/tests/app/Module/DescendancyReportModuleTest.php @@ -82,7 +82,6 @@ class DescendancyReportModuleTest extends TestCase Auth::login($user); $tree = $this->importTree('demo.ged'); - app()->instance(Tree::class, $tree); $xml = Webtrees::ROOT_DIR . 'resources/xml/reports/descendancy_report.xml'; $vars = [ 'pid' => ['id' => 'X1030'], |
