diff options
author | Jerome Charaoui <jerome@riseup.net> | 2016-12-03 00:26:57 -0500 |
---|---|---|
committer | Jerome Charaoui <jerome@riseup.net> | 2016-12-03 00:26:57 -0500 |
commit | cd82ace70a9fede70f44f7f11c05456118b36b04 (patch) | |
tree | 169a5d64ab56bbc00c001dcbbdeedbc5bc5532ee | |
parent | dba1e0b1883e32005fc7f980b5206dc5eb078e29 (diff) | |
download | wallabag-cd82ace70a9fede70f44f7f11c05456118b36b04.tar.gz wallabag-cd82ace70a9fede70f44f7f11c05456118b36b04.tar.zst wallabag-cd82ace70a9fede70f44f7f11c05456118b36b04.zip |
Add missing CoreKernelTestCase class
-rw-r--r-- | tests/Wallabag/CoreBundle/CoreKernelTestCase.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/CoreKernelTestCase.php b/tests/Wallabag/CoreBundle/CoreKernelTestCase.php new file mode 100644 index 00000000..d14421f1 --- /dev/null +++ b/tests/Wallabag/CoreBundle/CoreKernelTestCase.php | |||
@@ -0,0 +1,17 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace tests\Wallabag\CoreBundle; | ||
4 | |||
5 | use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | ||
6 | |||
7 | abstract class CoreKernelTestCase extends KernelTestCase | ||
8 | { | ||
9 | protected $fetchingErrorMessage; | ||
10 | |||
11 | public function setUp() | ||
12 | { | ||
13 | self::bootKernel(); | ||
14 | $container = self::$kernel->getContainer(); | ||
15 | $this->fetchingErrorMessage = $container->getParameter('wallabag_core.fetching_error_message'); | ||
16 | } | ||
17 | } | ||