فهرست منبع

[HttpKernel] Remove useless WebTestCase class

ornicar 14 سال پیش
والد
کامیت
f08533ff9c

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php

@@ -22,7 +22,7 @@ use Symfony\Component\HttpKernel\Test\WebTestCase as BaseWebTestCase;
  *
  * @author Fabien Potencier <fabien@symfony.com>
  */
-abstract class WebTestCase extends BaseWebTestCase
+abstract class WebTestCase extends \PHPUnit_Framework_TestCase
 {
     static protected $kernel;
 

+ 0 - 33
src/Symfony/Component/HttpKernel/Test/WebTestCase.php

@@ -1,33 +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\Test;
-
-use Symfony\Component\DomCrawler\Crawler;
-use Symfony\Component\HttpKernel\Client;
-
-/**
- * WebTestCase is the base class for functional tests.
- *
- * @author Fabien Potencier <fabien@symfony.com>
- */
-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());
-}