aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2020-03-28 16:49:29 +0100
committerGitHub <noreply@github.com>2020-03-28 16:49:29 +0100
commit11079d204d865671524dad0c7f418deef29a8c83 (patch)
tree103794af0a224c0d0f49b7d06c99cf2ba7c6febe /tests/Wallabag
parentd8a40d703e96c10118de025eb5cdcfdd69f26f6a (diff)
parent33e3eeaec851158289e1a236cfe08a475cc6364a (diff)
downloadwallabag-11079d204d865671524dad0c7f418deef29a8c83.tar.gz
wallabag-11079d204d865671524dad0c7f418deef29a8c83.tar.zst
wallabag-11079d204d865671524dad0c7f418deef29a8c83.zip
Merge pull request #4272 from Simounet/feat/load-custom-css-only-if-exists
Load custom.css only if exists
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'));