mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Fix tests & cs & migration
This commit is contained in:
parent
531c8d0a5c
commit
f277bc042c
14 changed files with 126 additions and 69 deletions
|
@ -52,9 +52,9 @@ class WallabagExtensionTest extends TestCase
|
|||
|
||||
$extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator);
|
||||
|
||||
$this->assertEquals('lemonde.fr', $extension->removeScheme('lemonde.fr'));
|
||||
$this->assertEquals('gist.github.com', $extension->removeScheme('gist.github.com'));
|
||||
$this->assertEquals('gist.github.com', $extension->removeScheme('https://gist.github.com'));
|
||||
$this->assertSame('lemonde.fr', $extension->removeScheme('lemonde.fr'));
|
||||
$this->assertSame('gist.github.com', $extension->removeScheme('gist.github.com'));
|
||||
$this->assertSame('gist.github.com', $extension->removeScheme('https://gist.github.com'));
|
||||
}
|
||||
|
||||
public function testRemoveSchemeAndWww()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue