fix tests

This commit is contained in:
Nicolas Grekas 2019-05-28 11:19:25 +02:00
parent a7bfe26fcc
commit 90167c36f8
3 changed files with 6 additions and 2 deletions

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Contracts\Tests\Service; namespace Symfony\Contracts\Service\Test;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface; use Psr\Container\ContainerInterface;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Contracts\Tests\Translation; namespace Symfony\Contracts\Translation\Test;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Symfony\Contracts\Translation\TranslatorInterface; use Symfony\Contracts\Translation\TranslatorInterface;

View File

@ -15,6 +15,8 @@
<testsuites> <testsuites>
<testsuite name="Symfony Contracts Test Suite"> <testsuite name="Symfony Contracts Test Suite">
<directory>./Tests/</directory> <directory>./Tests/</directory>
<directory>./Service/Test/</directory>
<directory>./Translation/Test/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
@ -23,6 +25,8 @@
<directory>./</directory> <directory>./</directory>
<exclude> <exclude>
<directory>./Tests</directory> <directory>./Tests</directory>
<directory>./Service/Test/</directory>
<directory>./Translation/Test/</directory>
<directory>./vendor</directory> <directory>./vendor</directory>
</exclude> </exclude>
</whitelist> </whitelist>