mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
fix: various notice fixes (#3718)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user