summaryrefslogtreecommitdiff
path: root/tests/app/Module/DescendancyReportModuleTest.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-04-13 22:01:36 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-04-14 09:39:45 +0100
commitf397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1 (patch)
tree79dcc330a46550fe2e33f2a802bddea724649584 /tests/app/Module/DescendancyReportModuleTest.php
parenta22c26f33a8f68ef90ed22483c6c4afd351939be (diff)
downloadwebtrees-f397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1.tar.gz
webtrees-f397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1.tar.bz2
webtrees-f397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1.zip
Refactor the bootstrap process
Diffstat (limited to 'tests/app/Module/DescendancyReportModuleTest.php')
-rw-r--r--tests/app/Module/DescendancyReportModuleTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/app/Module/DescendancyReportModuleTest.php b/tests/app/Module/DescendancyReportModuleTest.php
index 1b9f1a241d..9662b1560b 100644
--- a/tests/app/Module/DescendancyReportModuleTest.php
+++ b/tests/app/Module/DescendancyReportModuleTest.php
@@ -23,6 +23,7 @@ use Fisharebest\Webtrees\Report\ReportParserGenerate;
use Fisharebest\Webtrees\Report\ReportPdf;
use Fisharebest\Webtrees\Services\UserService;
use Fisharebest\Webtrees\Tree;
+use Fisharebest\Webtrees\Webtrees;
/**
* Test harness for the class DescendancyReportModule
@@ -78,7 +79,7 @@ class DescendancyReportModuleTest extends \Fisharebest\Webtrees\TestCase
$tree = $this->importTree('demo.ged');
app()->instance(Tree::class, $tree);
- $xml = WT_ROOT . 'resources/xml/reports/descendancy_report.xml';
+ $xml = Webtrees::ROOT_DIR . 'resources/xml/reports/descendancy_report.xml';
$vars = [
'pid' => ['id' => 'X1030'],
'maxgen' => ['id' => '3'],