aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes/MarkdownTest.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-05-27 06:17:05 +0000
committerMario <mario@mariovavti.com>2024-05-27 06:17:05 +0000
commitcad82d12d2aad1a54fa821061dd3dc1ffc732c5a (patch)
treefcc58ecd7ad3c9f9768c168d5a15f557545a52ad /tests/unit/includes/MarkdownTest.php
parenta10402a7883efd4886ad17c8133c10237f443181 (diff)
downloadvolse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.tar.gz
volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.tar.bz2
volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.zip
Upgrade test framework to PHPUnit 10.5
Diffstat (limited to 'tests/unit/includes/MarkdownTest.php')
-rw-r--r--tests/unit/includes/MarkdownTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/includes/MarkdownTest.php b/tests/unit/includes/MarkdownTest.php
index 960c15139..310130bf1 100644
--- a/tests/unit/includes/MarkdownTest.php
+++ b/tests/unit/includes/MarkdownTest.php
@@ -39,7 +39,7 @@ class MarkdownTest extends UnitTestCase {
$this->assertEquals($expected, markdown_to_bb($src));
}
- private function markdown_to_bbcode_provider(): array {
+ public static function markdown_to_bbcode_provider(): array {
return [
'empty text' => [
'',
@@ -104,7 +104,7 @@ class MarkdownTest extends UnitTestCase {
$this->assertEquals($markdown, html2markdown($html));
}
- public function html2markdownProvider(): array {
+ public static function html2markdownProvider(): array {
return [
'empty text' => [
'',