From 33e3eeaec851158289e1a236cfe08a475cc6364a Mon Sep 17 00:00:00 2001 From: Simounet Date: Wed, 29 Jan 2020 22:26:00 +0100 Subject: Load custom.css only if exists --- tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 ->disableOriginalConstructor() ->getMock(); - $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); + $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator, ''); $this->assertSame('lemonde.fr', $extension->removeWww('www.lemonde.fr')); $this->assertSame('lemonde.fr', $extension->removeWww('lemonde.fr')); @@ -50,7 +50,7 @@ class WallabagExtensionTest extends TestCase ->disableOriginalConstructor() ->getMock(); - $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); + $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator, ''); $this->assertSame('lemonde.fr', $extension->removeScheme('lemonde.fr')); $this->assertSame('gist.github.com', $extension->removeScheme('gist.github.com')); @@ -75,7 +75,7 @@ class WallabagExtensionTest extends TestCase ->disableOriginalConstructor() ->getMock(); - $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); + $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator, ''); $this->assertSame('lemonde.fr', $extension->removeSchemeAndWww('www.lemonde.fr')); $this->assertSame('lemonde.fr', $extension->removeSchemeAndWww('http://lemonde.fr')); -- cgit v1.2.3