aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Module/HelpTest.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-05-15 08:28:19 +0000
committerMario <mario@mariovavti.com>2024-05-15 08:28:19 +0000
commit5da0cc138f4330fd07e9c117b3f4261dc1bcbc19 (patch)
tree8efc921f3ce182f1cfb781c7a4c3dabca1c6fc43 /tests/unit/Module/HelpTest.php
parent960354b16cab06915a2f85fcc5e55d380765d858 (diff)
downloadvolse-hubzilla-5da0cc138f4330fd07e9c117b3f4261dc1bcbc19.tar.gz
volse-hubzilla-5da0cc138f4330fd07e9c117b3f4261dc1bcbc19.tar.bz2
volse-hubzilla-5da0cc138f4330fd07e9c117b3f4261dc1bcbc19.zip
Refactor and cleanup Rbmark module + add tests
Diffstat (limited to 'tests/unit/Module/HelpTest.php')
-rw-r--r--tests/unit/Module/HelpTest.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/unit/Module/HelpTest.php b/tests/unit/Module/HelpTest.php
index 0f1610db5..3fb7687d3 100644
--- a/tests/unit/Module/HelpTest.php
+++ b/tests/unit/Module/HelpTest.php
@@ -176,13 +176,4 @@ class HelpTest extends \Zotlabs\Tests\Unit\Module\TestCase {
$this->assertPageContains('<h3>This is the included file.</h3>');
}
-
- /**
- * Helper to simplify asserting contents in the rendered page.
- *
- * @param string $needle The expected string to find.
- */
- private function assertPageContains(string $needle): void {
- $this->assertStringContainsString($needle, \App::$page['content']);
- }
}