diff options
Diffstat (limited to 'tests')
-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 | } | ||