[Translation] Move ProviderFactoryTestCase out of the Tests namespace

This commit is contained in:
Alexander M. Turek 2021-04-22 14:58:24 +02:00
parent ba2a354597
commit e01499d0b8
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ namespace Symfony\Component\Translation\Bridge\Loco\Tests;
use Symfony\Component\Translation\Bridge\Loco\Provider\LocoProviderFactory; use Symfony\Component\Translation\Bridge\Loco\Provider\LocoProviderFactory;
use Symfony\Component\Translation\Provider\ProviderFactoryInterface; use Symfony\Component\Translation\Provider\ProviderFactoryInterface;
use Symfony\Component\Translation\Tests\ProviderFactoryTestCase; use Symfony\Component\Translation\Test\ProviderFactoryTestCase;
class LocoProviderFactoryTest extends ProviderFactoryTestCase class LocoProviderFactoryTest extends ProviderFactoryTestCase
{ {

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Translation\Tests; namespace Symfony\Component\Translation\Test;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
@ -26,6 +26,8 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
* A test case to ease testing a translation provider factory. * A test case to ease testing a translation provider factory.
* *
* @author Mathieu Santostefano <msantostefano@protonmail.com> * @author Mathieu Santostefano <msantostefano@protonmail.com>
*
* @internal
*/ */
abstract class ProviderFactoryTestCase extends TestCase abstract class ProviderFactoryTestCase extends TestCase
{ {