Skip to content

Commit

Permalink
[FrameworkBundle] made a huge speed optimization for functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jul 19, 2011
1 parent d2e9f14 commit 1454d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static protected function getKernelClass()
$dir = isset($_SERVER['KERNEL_DIR']) ? $_SERVER['KERNEL_DIR'] : static::getPhpUnitXmlDir();

$finder = new Finder();
$finder->name('*Kernel.php')->in($dir);
$finder->name('*Kernel.php')->depth(0)->in($dir);
if (!count($finder)) {
throw new \RuntimeException('You must override the WebTestCase::createKernel() method.');
}
Expand Down

1 comment on commit 1454d61

@beberlei
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for this.

Please sign in to comment.