From f08533ff9cf2fe8d7d343e6335528f5159678c88 Mon Sep 17 00:00:00 2001 From: ornicar Date: Thu, 16 Jun 2011 10:03:48 -0700 Subject: [PATCH] [HttpKernel] Remove useless WebTestCase class --- .../FrameworkBundle/Test/WebTestCase.php | 2 +- .../Component/HttpKernel/Test/WebTestCase.php | 33 ------------------- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 src/Symfony/Component/HttpKernel/Test/WebTestCase.php diff --git a/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php b/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php index 78c5d8b634..1a04acdcae 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php +++ b/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php @@ -22,7 +22,7 @@ use Symfony\Component\HttpKernel\Test\WebTestCase as BaseWebTestCase; * * @author Fabien Potencier */ -abstract class WebTestCase extends BaseWebTestCase +abstract class WebTestCase extends \PHPUnit_Framework_TestCase { static protected $kernel; diff --git a/src/Symfony/Component/HttpKernel/Test/WebTestCase.php b/src/Symfony/Component/HttpKernel/Test/WebTestCase.php deleted file mode 100644 index 716345d516..0000000000 --- a/src/Symfony/Component/HttpKernel/Test/WebTestCase.php +++ /dev/null @@ -1,33 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\HttpKernel\Test; - -use Symfony\Component\DomCrawler\Crawler; -use Symfony\Component\HttpKernel\Client; - -/** - * WebTestCase is the base class for functional tests. - * - * @author Fabien Potencier - */ -abstract class WebTestCase extends \PHPUnit_Framework_TestCase -{ - /** - * Creates a Client. - * - * @param array $options An array of options to pass to the createKernel class - * @param array $server An array of server parameters - * - * @return Client A Client instance - */ - abstract static protected function createClient(array $options = array(), array $server = array()); -}