Merge branch '4.3' into 4.4
* 4.3: fix tests
This commit is contained in:
commit
a13e1af633
@ -11,6 +11,7 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Tests\CacheWarmer;
|
||||
|
||||
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
|
||||
use Symfony\Bundle\FrameworkBundle\CacheWarmer\SerializerCacheWarmer;
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
|
||||
use Symfony\Component\Cache\Adapter\NullAdapter;
|
||||
@ -21,6 +22,8 @@ use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
|
||||
|
||||
class SerializerCacheWarmerTest extends TestCase
|
||||
{
|
||||
use ForwardCompatTestTrait;
|
||||
|
||||
public function testWarmUp()
|
||||
{
|
||||
if (!class_exists(CacheClassMetadataFactory::class) || !method_exists(XmlFileLoader::class, 'getMappedClasses') || !method_exists(YamlFileLoader::class, 'getMappedClasses')) {
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Tests\CacheWarmer;
|
||||
|
||||
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
|
||||
use Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer;
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
|
||||
use Symfony\Component\Cache\Adapter\NullAdapter;
|
||||
@ -20,6 +21,8 @@ use Symfony\Component\Validator\ValidatorBuilder;
|
||||
|
||||
class ValidatorCacheWarmerTest extends TestCase
|
||||
{
|
||||
use ForwardCompatTestTrait;
|
||||
|
||||
public function testWarmUp()
|
||||
{
|
||||
$validatorBuilder = new ValidatorBuilder();
|
||||
|
@ -12,6 +12,7 @@
|
||||
namespace Symfony\Component\Intl\Tests\NumberFormatter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
|
||||
use Symfony\Component\Intl\Globals\IntlGlobals;
|
||||
use Symfony\Component\Intl\NumberFormatter\NumberFormatter;
|
||||
use Symfony\Component\Intl\Util\IntlTestHelper;
|
||||
@ -22,6 +23,8 @@ use Symfony\Component\Intl\Util\IntlTestHelper;
|
||||
*/
|
||||
abstract class AbstractNumberFormatterTest extends TestCase
|
||||
{
|
||||
use ForwardCompatTestTrait;
|
||||
|
||||
/**
|
||||
* @dataProvider formatCurrencyWithDecimalStyleProvider
|
||||
*/
|
||||
|
Reference in New Issue
Block a user