summaryrefslogtreecommitdiff
path: root/tests/app/Module/IndividualReportModuleTest.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/IndividualReportModuleTest.php
parenta22c26f33a8f68ef90ed22483c6c4afd351939be (diff)
downloadwebtrees-f397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1.tar.gz
webtrees-f397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1.tar.bz2
webtrees-f397d0fdeebb0d5a9590d5ba2d4d2aae8df09df1.zip
Refactor the bootstrap process
Diffstat (limited to 'tests/app/Module/IndividualReportModuleTest.php')
-rw-r--r--tests/app/Module/IndividualReportModuleTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php
index 713850d888..eba24b5eb7 100644
--- a/tests/app/Module/IndividualReportModuleTest.php
+++ b/tests/app/Module/IndividualReportModuleTest.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 IndividualReportModule
@@ -79,7 +80,7 @@ class IndividualReportModuleTest extends \Fisharebest\Webtrees\TestCase
$tree = $this->importTree('demo.ged');
app()->instance(Tree::class, $tree);
- $xml = WT_ROOT . 'resources/xml/reports/individual_report.xml';
+ $xml = Webtrees::ROOT_DIR . 'resources/xml/reports/individual_report.xml';
$vars = [
'id' => ['id' => 'X1030'],
'sources' => ['id' => 'on'],