summaryrefslogtreecommitdiff
path: root/tests/app/Module/IndividualReportModuleTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Module/IndividualReportModuleTest.php')
-rw-r--r--tests/app/Module/IndividualReportModuleTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/app/Module/IndividualReportModuleTest.php b/tests/app/Module/IndividualReportModuleTest.php
index 8344964d1c..cf815f919b 100644
--- a/tests/app/Module/IndividualReportModuleTest.php
+++ b/tests/app/Module/IndividualReportModuleTest.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2019 webtrees development team
+ * Copyright (C) 2020 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -93,18 +93,18 @@ class IndividualReportModuleTest extends TestCase
];
$report = new ReportParserSetup($xml);
- $this->assertIsArray($report->reportProperties());
+ self::assertIsArray($report->reportProperties());
ob_start();
new ReportParserGenerate($xml, new HtmlRenderer(), $vars, $tree, $data_filesystem);
$html = ob_get_clean();
- $this->assertStringStartsWith('<', $html);
- $this->assertStringEndsWith('>', $html);
+ self::assertStringStartsWith('<', $html);
+ self::assertStringEndsWith('>', $html);
ob_start();
new ReportParserGenerate($xml, new PdfRenderer(), $vars, $tree, $data_filesystem);
$pdf = ob_get_clean();
- $this->assertStringStartsWith('%PDF', $pdf);
- $this->assertStringEndsWith("%%EOF\n", $pdf);
+ self::assertStringStartsWith('%PDF', $pdf);
+ self::assertStringEndsWith("%%EOF\n", $pdf);
}
}