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/IndividualReportModuleTest.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/IndividualReportModuleTest.php')
| -rw-r--r-- | tests/app/Module/IndividualReportModuleTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php index d816572452..471c74ffb4 100644 --- a/tests/app/Module/IndividualReportModuleTest.php +++ b/tests/app/Module/IndividualReportModuleTest.php @@ -83,7 +83,6 @@ class IndividualReportModuleTest extends TestCase Auth::login($user); $tree = $this->importTree('demo.ged'); - app()->instance(Tree::class, $tree); $xml = Webtrees::ROOT_DIR . 'resources/xml/reports/individual_report.xml'; $vars = [ 'id' => ['id' => 'X1030'], |
