8000 fix tests · symfony/symfony@c064548 · GitHub
[go: up one dir, main page]

Skip to content

Commit c064548

Browse files
fix tests
1 parent 1ad2682 commit c064548

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/CacheWarmer/SerializerCacheWarmerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

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

14+
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
1415
use Symfony\Bundle\FrameworkBundle\CacheWarmer\SerializerCacheWarmer;
1516
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
1617
use Symfony\Component\Cache\Adapter\ArrayAdapter;
@@ -22,6 +23,8 @@
2223

2324
class SerializerCacheWarmerTest extends TestCase
2425
{
26+
use ForwardCompatTestTrait;
27+
2528
public function testWarmUp()
2629
{
2730
if (!class_exists(CacheClassMetadataFactory::class) || !method_exists(XmlFileLoader::class, 'getMappedClasses') || !method_exists(YamlFileLoader::class, 'getMappedClasses')) {

src/Symfony/Bundle/FrameworkBundle/Tests/CacheWarmer/ValidatorCacheWarmerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

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

14+
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
1415
use Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer;
1516
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
1617
use Symfony\Component\Cache\Adapter\ArrayAdapter;
@@ -21,6 +22,8 @@
2122

2223
class ValidatorCacheWarmerTest extends TestCase
2324
{
25+
use ForwardCompatTestTrait;
26+
2427
public function testWarmUp()
2528
{
2629
$validatorBuilder = new ValidatorBuilder();

src/Symfony/Component/Intl/Tests/NumberFormatter/AbstractNumberFormatterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Intl\Tests\NumberFormatter;
1313

1414
use PHPUnit\Framework\TestCase;
15+
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
1516
use Symfony\Component\Intl\Globals\IntlGlobals;
1617
use Symfony\Component\Intl\NumberFormatter\NumberFormatter;
1718
use Symfony\Component\Intl\Util\IntlTestHelper;
@@ -22,6 +23,8 @@
2223
*/
2324
abstract class AbstractNumberFormatterTest extends TestCase
2425
{
26+
use ForwardCompatTestTrait;
27+
4625 2528
/**
2629
* @dataProvider formatCurrencyWithDecimalStyleProvider
2730
*/

0 commit comments

Comments
 (0)
0