[HttpKernel] Remove unneeded test class (suggestion by @stof)

This commit is contained in:
Alexander 2012-06-18 10:36:28 +02:00
parent e49b714c1e
commit 441c0983f6
2 changed files with 1 additions and 20 deletions

View File

@ -1,19 +0,0 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\Tests\Fixtures;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
abstract class TestBundle implements BundleInterface
{
// We can not extend Symfony\Component\HttpKernel\Bundle\Bundle as we want to mock getName() which is final
}

View File

@ -723,7 +723,7 @@ EOF;
protected function getBundle($dir = null, $parent = null, $className = null, $bundleName = null)
{
$bundle = $this
->getMockBuilder('Symfony\Component\HttpKernel\Tests\Fixtures\TestBundle')
->getMockBuilder('Symfony\Component\HttpKernel\Bundle\BundleInterface')
->setMethods(array('getPath', 'getParent', 'getName'))
->disableOriginalConstructor()
;