Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Tests/Controller/FakeControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,14 @@ public function testReadAndSaveAction()

$this->assertFileExists($content, sprintf('file %s should exist', $content));
}

/**
* @inheritdoc
*/
protected static function getKernelClass()
{
require_once __DIR__.'/../app/AppKernel.php';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even better: configure the autoload_dev in composer.json to be able to autoload this class (I think it is even already able to do it), making this requiring useless

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is even already able to do it

Seems to be true.


return 'Liuggio\ExcelBundle\Tests\app\AppKernel';
}
}