[Translation] Move ProviderTestCase out of the Tests namespace

This commit is contained in:
Alexander M. Turek 2021-04-22 14:29:43 +02:00
parent 8361713367
commit c1ec38fdb8
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ use Symfony\Component\Translation\Loader\LoaderInterface;
use Symfony\Component\Translation\Loader\XliffFileLoader; use Symfony\Component\Translation\Loader\XliffFileLoader;
use Symfony\Component\Translation\MessageCatalogue; use Symfony\Component\Translation\MessageCatalogue;
use Symfony\Component\Translation\Provider\ProviderInterface; use Symfony\Component\Translation\Provider\ProviderInterface;
use Symfony\Component\Translation\Tests\ProviderTestCase; use Symfony\Component\Translation\Test\ProviderTestCase;
use Symfony\Component\Translation\TranslatorBag; use Symfony\Component\Translation\TranslatorBag;
use Symfony\Contracts\HttpClient\HttpClientInterface; use Symfony\Contracts\HttpClient\HttpClientInterface;
use Symfony\Contracts\HttpClient\ResponseInterface; use Symfony\Contracts\HttpClient\ResponseInterface;

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;
@ -24,6 +24,8 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
* A test case to ease testing a translation provider. * A test case to ease testing a translation provider.
* *
* @author Mathieu Santostefano <msantostefano@protonmail.com> * @author Mathieu Santostefano <msantostefano@protonmail.com>
*
* @internal
*/ */
abstract class ProviderTestCase extends TestCase abstract class ProviderTestCase extends TestCase
{ {