1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

fix: various notice fixes (#3718)

This commit is contained in:
Dag
2023-09-29 19:17:03 +02:00
committed by GitHub
parent b9ec6a0eb4
commit 2172df9fa2
7 changed files with 27 additions and 5 deletions

View File

@@ -46,4 +46,14 @@ final class UtilsTest extends TestCase
$this->assertSame(4, strlen(create_random_string(2)));
$this->assertSame(6, strlen(create_random_string(3)));
}
public function testUrljoin()
{
$base = '/';
$rel = 'https://example.com/foo';
$url = urljoin($base, $rel);
$this->assertSame($rel, $url);
}
}