Skip to content

Commit c3251a9

Browse files
committed
Rename internal WebTestCase to AbstractWebTestCase
FrameworkBundle had 2 classes called WebTestCase, one of which is only meant for internal tests. To avoid confusion the internal class has been renamed to AbstractWebTestCase 'See #32577
1 parent aad6d2a commit c3251a9

22 files changed

+23
-23
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/WebTestCase.php renamed to src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AbstractWebTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase as BaseWebTestCase;
1515
use Symfony\Component\Filesystem\Filesystem;
1616

17-
class WebTestCase extends BaseWebTestCase
17+
class AbstractWebTestCase extends BaseWebTestCase
1818
{
1919
public static function assertRedirect($response, $location)
2020
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AnnotatedControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
1313

14-
class AnnotatedControllerTest extends WebTestCase
14+
class AnnotatedControllerTest extends AbstractWebTestCase
1515
{
1616
/**
1717
* @dataProvider getRoutes

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/AutowiringTypesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Symfony\Component\EventDispatcher\EventDispatcher;
1818
use Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher;
1919

20-
class AutowiringTypesTest extends WebTestCase
20+
class AutowiringTypesTest extends AbstractWebTestCase
2121
{
2222
public function testAnnotationReaderAutowiring()
2323
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolClearCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @group functional
2020
*/
21-
class CachePoolClearCommandTest extends WebTestCase
21+
class CachePoolClearCommandTest extends AbstractWebTestCase
2222
{
2323
protected function setUp()
2424
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolListCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @group functional
2020
*/
21-
class CachePoolListCommandTest extends WebTestCase
21+
class CachePoolListCommandTest extends AbstractWebTestCase
2222
{
2323
protected function setUp()
2424
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\Cache\Adapter\TagAwareAdapter;
1717
use Symfony\Component\Cache\Exception\InvalidArgumentException;
1818

19-
class CachePoolsTest extends WebTestCase
19+
class CachePoolsTest extends AbstractWebTestCase
2020
{
2121
public function testCachePools()
2222
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ConfigDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @group functional
2121
*/
22-
class ConfigDebugCommandTest extends WebTestCase
22+
class ConfigDebugCommandTest extends AbstractWebTestCase
2323
{
2424
private $application;
2525

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ConfigDumpReferenceCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @group functional
2121
*/
22-
class ConfigDumpReferenceCommandTest extends WebTestCase
22+
class ConfigDumpReferenceCommandTest extends AbstractWebTestCase
2323
{
2424
private $application;
2525

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ContainerDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* @group functional
2020
*/
21-
class ContainerDebugCommandTest extends WebTestCase
21+
class ContainerDebugCommandTest extends AbstractWebTestCase
2222
{
2323
public function testDumpContainerIfNotExists()
2424
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ContainerDumpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Checks that the container compiles correctly when all the bundle features are enabled.
1616
*/
17-
class ContainerDumpTest extends WebTestCase
17+
class ContainerDumpTest extends AbstractWebTestCase
1818
{
1919
public function testContainerCompilationInDebug()
2020
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/DebugAutowiringCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @group functional
1919
*/
20-
class DebugAutowiringCommandTest extends WebTestCase
20+
class DebugAutowiringCommandTest extends AbstractWebTestCase
2121
{
2222
public function testBasicFunctionality()
2323
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/FragmentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
1313

14-
class FragmentTest extends WebTestCase
14+
class FragmentTest extends AbstractWebTestCase
1515
{
1616
/**
1717
* @dataProvider getConfigs

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/MailerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Symfony\Component\Mime\Address;
1111
use Symfony\Component\Mime\Email;
1212

13-
class MailerTest extends WebTestCase
13+
class MailerTest extends AbstractWebTestCase
1414
{
1515
public function testEnvelopeListener()
1616
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ProfilerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
1313

14-
class ProfilerTest extends WebTestCase
14+
class ProfilerTest extends AbstractWebTestCase
1515
{
1616
/**
1717
* @dataProvider getConfigs

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/PropertyInfoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use Symfony\Component\PropertyInfo\Type;
1515

16-
class PropertyInfoTest extends WebTestCase
16+
class PropertyInfoTest extends AbstractWebTestCase
1717
{
1818
public function testPhpDocPriority()
1919
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/RouterDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @group functional
1919
*/
20-
class RouterDebugCommandTest extends WebTestCase
20+
class RouterDebugCommandTest extends AbstractWebTestCase
2121
{
2222
private $application;
2323

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/SerializerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @author Kévin Dunglas <dunglas@gmail.com>
1616
*/
17-
class SerializerTest extends WebTestCase
17+
class SerializerTest extends AbstractWebTestCase
1818
{
1919
public function testDeserializeArrayOfObject()
2020
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/SessionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
1313

14-
class SessionTest extends WebTestCase
14+
class SessionTest extends AbstractWebTestCase
1515
{
1616
/**
1717
* Tests session attributes persist.

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/SubRequestsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Functional;
1313

14-
class SubRequestsTest extends WebTestCase
14+
class SubRequestsTest extends AbstractWebTestCase
1515
{
1616
public function testStateAfterSubRequest()
1717
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/TestServiceContainerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\TestServiceContainer\UnusedPrivateService;
1919
use Symfony\Component\DependencyInjection\ContainerInterface;
2020

21-
class TestServiceContainerTest extends WebTestCase
21+
class TestServiceContainerTest extends AbstractWebTestCase
2222
{
2323
public function testThatPrivateServicesAreUnavailableIfTestConfigIsDisabled()
2424
{

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/TranslationDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @group functional
1919
*/
20-
class TranslationDebugCommandTest extends WebTestCase
20+
class TranslationDebugCommandTest extends AbstractWebTestCase
2121
{
2222
private $application;
2323

src/Symfony/Bundle/FrameworkBundle/Tests/KernelBrowserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
namespace Symfony\Bundle\FrameworkBundle\Tests;
1313

1414
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
15-
use Symfony\Bundle\FrameworkBundle\Tests\Functional\WebTestCase;
15+
use Symfony\Bundle\FrameworkBundle\Tests\Functional\AbstractWebTestCase;
1616
use Symfony\Component\HttpFoundation\Response;
1717

18-
class KernelBrowserTest extends WebTestCase
18+
class KernelBrowserTest extends AbstractWebTestCase
1919
{
2020
public function testRebootKernelBetweenRequests()
2121
{

0 commit comments

Comments
 (0)