aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
diff options
context:
space:
mode:
authorJerome Charaoui <jerome@riseup.net>2016-12-03 09:44:34 -0500
committerJerome Charaoui <jerome@riseup.net>2016-12-03 09:50:36 -0500
commita2c1b94e8200260c1d6172ec2c36ef9a0e956d02 (patch)
treee7b8c652958f21a5f70e020b564d4a976b2e66b9 /tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
parentcd82ace70a9fede70f44f7f11c05456118b36b04 (diff)
downloadwallabag-a2c1b94e8200260c1d6172ec2c36ef9a0e956d02.tar.gz
wallabag-a2c1b94e8200260c1d6172ec2c36ef9a0e956d02.tar.zst
wallabag-a2c1b94e8200260c1d6172ec2c36ef9a0e956d02.zip
Revert switch to KernelTestCase for ContentProxyTest
Define the error string manually inside the test class instead of fetching it from app config.
Diffstat (limited to 'tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
index 55e4d506..2ca13b91 100644
--- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
+++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
@@ -1,16 +1,17 @@
1<?php 1<?php
2 2
3namespace tests\Wallabag\CoreBundle\Helper; 3namespace Tests\Wallabag\CoreBundle\Helper;
4 4
5use Psr\Log\NullLogger; 5use Psr\Log\NullLogger;
6use Wallabag\CoreBundle\Helper\ContentProxy; 6use Wallabag\CoreBundle\Helper\ContentProxy;
7use Wallabag\CoreBundle\Entity\Entry; 7use Wallabag\CoreBundle\Entity\Entry;
8use Wallabag\CoreBundle\Entity\Tag; 8use Wallabag\CoreBundle\Entity\Tag;
9use Wallabag\UserBundle\Entity\User; 9use Wallabag\UserBundle\Entity\User;
10use Tests\Wallabag\CoreBundle\CoreKernelTestCase;
11 10
12class ContentProxyTest extends CoreKernelTestCase 11class ContentProxyTest extends \PHPUnit_Framework_TestCase
13{ 12{
13 private $fetchingErrorMessage = 'wallabag can\'t retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>.';
14
14 public function testWithBadUrl() 15 public function testWithBadUrl()
15 { 16 {
16 $tagger = $this->getTaggerMock(); 17 $tagger = $this->getTaggerMock();