Permalink
Browse files

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

  • Loading branch information...
1 parent e49b714 commit 441c0983f6132f8abeab4bef53c66aec4dcb875d @asm89 committed Jun 18, 2012
@@ -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
-}
@@ -723,7 +723,7 @@ public function testTerminateDelegatesTerminationOnlyForTerminableInterface()
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()
;

0 comments on commit 441c098

Please sign in to comment.