aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Wallabag')
-rw-r--r--tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php b/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php
index 39fcec16..db02cb9c 100644
--- a/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php
+++ b/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php
@@ -25,7 +25,7 @@ class WallabagExtensionTest extends TestCase
25 ->disableOriginalConstructor() 25 ->disableOriginalConstructor()
26 ->getMock(); 26 ->getMock();
27 27
28 $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); 28 $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator, '');
29 29
30 $this->assertSame('lemonde.fr', $extension->removeWww('www.lemonde.fr')); 30 $this->assertSame('lemonde.fr', $extension->removeWww('www.lemonde.fr'));
31 $this->assertSame('lemonde.fr', $extension->removeWww('lemonde.fr')); 31 $this->assertSame('lemonde.fr', $extension->removeWww('lemonde.fr'));
@@ -50,7 +50,7 @@ class WallabagExtensionTest extends TestCase
50 ->disableOriginalConstructor() 50 ->disableOriginalConstructor()
51 ->getMock(); 51 ->getMock();
52 52
53 $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); 53 $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator, '');
54 54
55 $this->assertSame('lemonde.fr', $extension->removeScheme('lemonde.fr')); 55 $this->assertSame('lemonde.fr', $extension->removeScheme('lemonde.fr'));
56 $this->assertSame('gist.github.com', $extension->removeScheme('gist.github.com')); 56 $this->assertSame('gist.github.com', $extension->removeScheme('gist.github.com'));
@@ -75,7 +75,7 @@ class WallabagExtensionTest extends TestCase
75 ->disableOriginalConstructor() 75 ->disableOriginalConstructor()
76 ->getMock(); 76 ->getMock();
77 77
78 $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); 78 $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator, '');
79 79
80 $this->assertSame('lemonde.fr', $extension->removeSchemeAndWww('www.lemonde.fr')); 80 $this->assertSame('lemonde.fr', $extension->removeSchemeAndWww('www.lemonde.fr'));
81 $this->assertSame('lemonde.fr', $extension->removeSchemeAndWww('http://lemonde.fr')); 81 $this->assertSame('lemonde.fr', $extension->removeSchemeAndWww('http://lemonde.fr'));