mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 02:11:05 +01:00
Add missing CoreKernelTestCase class
This commit is contained in:
parent
dba1e0b188
commit
cd82ace70a
17
tests/Wallabag/CoreBundle/CoreKernelTestCase.php
Normal file
17
tests/Wallabag/CoreBundle/CoreKernelTestCase.php
Normal file
@ -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');
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user