mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-15 19:42:08 +00:00
fix bug on detect active theme
This commit is contained in:
parent
3123b3c0c8
commit
ce782c84b8
2 changed files with 10 additions and 4 deletions
|
@ -10,8 +10,8 @@ class WallabagExtensionTest extends \PHPUnit_Framework_TestCase
|
|||
{
|
||||
$extension = new WallabagExtension();
|
||||
|
||||
$this->assertEquals("lemonde.fr", $extension->removeWww('www.lemonde.fr'));
|
||||
$this->assertEquals("lemonde.fr", $extension->removeWww('lemonde.fr'));
|
||||
$this->assertEquals("gist.github.com", $extension->removeWww('gist.github.com'));
|
||||
$this->assertEquals('lemonde.fr', $extension->removeWww('www.lemonde.fr'));
|
||||
$this->assertEquals('lemonde.fr', $extension->removeWww('lemonde.fr'));
|
||||
$this->assertEquals('gist.github.com', $extension->removeWww('gist.github.com'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue