]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add missing CoreKernelTestCase class
authorJerome Charaoui <jerome@riseup.net>
Sat, 3 Dec 2016 05:26:57 +0000 (00:26 -0500)
committerJerome Charaoui <jerome@riseup.net>
Sat, 3 Dec 2016 05:26:57 +0000 (00:26 -0500)
tests/Wallabag/CoreBundle/CoreKernelTestCase.php [new file with mode: 0644]

diff --git a/tests/Wallabag/CoreBundle/CoreKernelTestCase.php b/tests/Wallabag/CoreBundle/CoreKernelTestCase.php
new file mode 100644 (file)
index 0000000..d14421f
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+
+namespace tests\Wallabag\CoreBundle;
+
+use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
+
+abstract class CoreKernelTestCase extends KernelTestCase
+{
+    protected $fetchingErrorMessage;
+
+    public function setUp()
+    {
+        self::bootKernel();
+        $container = self::$kernel->getContainer();
+        $this->fetchingErrorMessage = $container->getParameter('wallabag_core.fetching_error_message');
+    }
+}