diff options
author | Simounet <contact@simounet.net> | 2020-01-29 22:26:00 +0100 |
---|---|---|
committer | Simounet <contact@simounet.net> | 2020-02-07 13:21:48 +0100 |
commit | 33e3eeaec851158289e1a236cfe08a475cc6364a (patch) | |
tree | 0cb4c3b64622bfcc818026d667ee3b286644bd19 /tests | |
parent | 62107f50d3b43039a635dcaecce317ef0299ee1f (diff) | |
download | wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.tar.gz wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.tar.zst wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.zip |
Load custom.css only if exists
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php | 6 |
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')); |