From e01499d0b8f2f262720e9157a8d0e85205df3fa7 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 22 Apr 2021 14:58:24 +0200 Subject: [PATCH] [Translation] Move ProviderFactoryTestCase out of the Tests namespace --- .../Translation/Bridge/Loco/Tests/LocoProviderFactoryTest.php | 2 +- .../Translation/{Tests => Test}/ProviderFactoryTestCase.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename src/Symfony/Component/Translation/{Tests => Test}/ProviderFactoryTestCase.php (98%) diff --git a/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderFactoryTest.php b/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderFactoryTest.php index f108a58da7..8234525d15 100644 --- a/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderFactoryTest.php +++ b/src/Symfony/Component/Translation/Bridge/Loco/Tests/LocoProviderFactoryTest.php @@ -4,7 +4,7 @@ namespace Symfony\Component\Translation\Bridge\Loco\Tests; use Symfony\Component\Translation\Bridge\Loco\Provider\LocoProviderFactory; use Symfony\Component\Translation\Provider\ProviderFactoryInterface; -use Symfony\Component\Translation\Tests\ProviderFactoryTestCase; +use Symfony\Component\Translation\Test\ProviderFactoryTestCase; class LocoProviderFactoryTest extends ProviderFactoryTestCase { diff --git a/src/Symfony/Component/Translation/Tests/ProviderFactoryTestCase.php b/src/Symfony/Component/Translation/Test/ProviderFactoryTestCase.php similarity index 98% rename from src/Symfony/Component/Translation/Tests/ProviderFactoryTestCase.php rename to src/Symfony/Component/Translation/Test/ProviderFactoryTestCase.php index 8bb2250734..872f374eaf 100644 --- a/src/Symfony/Component/Translation/Tests/ProviderFactoryTestCase.php +++ b/src/Symfony/Component/Translation/Test/ProviderFactoryTestCase.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace Symfony\Component\Translation\Tests; +namespace Symfony\Component\Translation\Test; use PHPUnit\Framework\TestCase; use Psr\Log\LoggerInterface; @@ -26,6 +26,8 @@ use Symfony\Contracts\HttpClient\HttpClientInterface; * A test case to ease testing a translation provider factory. * * @author Mathieu Santostefano + * + * @internal */ abstract class ProviderFactoryTestCase extends TestCase {