diff --git a/Tests/Controller/FakeControllerTest.php b/Tests/Controller/FakeControllerTest.php index fc3c2bf..5152aa3 100644 --- a/Tests/Controller/FakeControllerTest.php +++ b/Tests/Controller/FakeControllerTest.php @@ -2,6 +2,7 @@ namespace Liuggio\ExcelBundle\Tests\Controller; +use Liuggio\ExcelBundle\Tests\app\AppKernel; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -71,4 +72,12 @@ public function testReadAndSaveAction() $this->assertFileExists($content, sprintf('file %s should exist', $content)); } + + /** + * @inheritdoc + */ + protected static function getKernelClass() + { + return AppKernel::class; + } } diff --git a/Tests/app/AppKernel.php b/Tests/app/AppKernel.php index 05ca7f9..b4a5fc4 100644 --- a/Tests/app/AppKernel.php +++ b/Tests/app/AppKernel.php @@ -1,4 +1,5 @@