aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Lib/ZotlibTest.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/Lib/ZotlibTest.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/Lib/ZotlibTest.php')
-rw-r--r--tests/unit/Lib/ZotlibTest.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/unit/Lib/ZotlibTest.php b/tests/unit/Lib/ZotlibTest.php
index 05522678f..0ab89dc2f 100644
--- a/tests/unit/Lib/ZotlibTest.php
+++ b/tests/unit/Lib/ZotlibTest.php
@@ -1,5 +1,9 @@
<?php
-class LibzotTest extends \Zotlabs\Tests\Unit\UnitTestCase {
+namespace Zotlabs\Tests\Unit\Lib;
+
+use Zotlabs\Tests\Unit\UnitTestCase;
+
+class ZotlibTest extends UnitTestCase {
/**
* Test the `get_rpost_path` function.
*
@@ -11,7 +15,7 @@ class LibzotTest extends \Zotlabs\Tests\Unit\UnitTestCase {
$this->assertEquals($expected, \Zotlabs\Lib\Libzot::get_rpost_path($observer));
}
- private function get_rpost_path_provider() : array {
+ public static function get_rpost_path_provider() : array {
return [
'xchan_url without port' => [
'https://example.com/rpost?f=',