mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +02:00
refactor/fix: css organization and error rendering (#3117)
* fix: php notice * refactor/feat: merge HtmlFormat.css into style.css Also improve ux of error rendering. * fix: center-align footer text
This commit is contained in:
@@ -40,4 +40,11 @@ final class UtilsTest extends TestCase
|
||||
$this->assertIsNumeric($sut->getTime());
|
||||
$sut->purgeCache(-1);
|
||||
}
|
||||
|
||||
public function testTrimFilePath()
|
||||
{
|
||||
$this->assertSame('', trim_path_prefix(dirname(__DIR__)));
|
||||
$this->assertSame('tests', trim_path_prefix(__DIR__));
|
||||
$this->assertSame('tests/UtilsTest.php', trim_path_prefix(__DIR__ . '/UtilsTest.php'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user