aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/Lib/ZotlibTest.php
diff options
context:
space:
mode:
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=',