summaryrefslogtreecommitdiff
path: root/tests/app/Module/IndividualReportModuleTest.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2020-12-30 09:13:04 +0000
committerGreg Roach <greg@subaqua.co.uk>2020-12-30 10:48:09 +0000
commit5e933c21f8006e675d1df8bcedc634ee61f4aec2 (patch)
treec9cc8c537163542486eff0cfdca70187589358b9 /tests/app/Module/IndividualReportModuleTest.php
parent708e66987f7d6eed5675fea31f4074192e368cac (diff)
downloadwebtrees-5e933c21f8006e675d1df8bcedc634ee61f4aec2.tar.gz
webtrees-5e933c21f8006e675d1df8bcedc634ee61f4aec2.tar.bz2
webtrees-5e933c21f8006e675d1df8bcedc634ee61f4aec2.zip
Testing
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);
}
}