From a2c1b94e8200260c1d6172ec2c36ef9a0e956d02 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Sat, 3 Dec 2016 09:44:34 -0500 Subject: [PATCH] Revert switch to KernelTestCase for ContentProxyTest Define the error string manually inside the test class instead of fetching it from app config. --- .../Wallabag/CoreBundle/CoreKernelTestCase.php | 17 ----------------- .../CoreBundle/Helper/ContentProxyTest.php | 7 ++++--- 2 files changed, 4 insertions(+), 20 deletions(-) delete mode 100644 tests/Wallabag/CoreBundle/CoreKernelTestCase.php diff --git a/tests/Wallabag/CoreBundle/CoreKernelTestCase.php b/tests/Wallabag/CoreBundle/CoreKernelTestCase.php deleted file mode 100644 index d14421f13..000000000 --- a/tests/Wallabag/CoreBundle/CoreKernelTestCase.php +++ /dev/null @@ -1,17 +0,0 @@ -getContainer(); - $this->fetchingErrorMessage = $container->getParameter('wallabag_core.fetching_error_message'); - } -} diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php index 55e4d506c..2ca13b914 100644 --- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php +++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php @@ -1,16 +1,17 @@ troubleshoot this issue.'; + public function testWithBadUrl() { $tagger = $this->getTaggerMock();