diff --git a/Test/WebTestCase.php b/Test/WebTestCase.php index 961762c..5a7c30c 100644 --- a/Test/WebTestCase.php +++ b/Test/WebTestCase.php @@ -91,6 +91,9 @@ protected function tearDownKernel() */ protected function createKernel(array $options = array()) { + if (!class_exists('\AppKernel') && file_exists(__DIR__.'/../../../../../../../app/AppKernel.php')) { + require_once __DIR__.'/../../../../../../../app/AppKernel.php'; + } if (!class_exists('\AppKernel')) { require_once $_SERVER['KERNEL_DIR'].'/AppKernel.php'; }