Skip to content

Commit

Permalink
Merge branch '3.4' into 4.3
Browse files Browse the repository at this point in the history
* 3.4:
  fix tests
  • Loading branch information
nicolas-grekas committed Aug 1, 2019
2 parents 35cf8ab + f2d5865 commit db4780a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/CacheWarmer/SerializerCacheWarmerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -21,6 +22,8 @@

class SerializerCacheWarmerTest extends TestCase
{
use ForwardCompatTestTrait;

public function testWarmUp()
{
if (!class_exists(CacheClassMetadataFactory::class) || !method_exists(XmlFileLoader::class, 'getMappedClasses') || !method_exists(YamlFileLoader::class, 'getMappedClasses')) {
Expand Down
3 changes: 3 additions & 0 deletions Tests/CacheWarmer/ValidatorCacheWarmerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -20,6 +21,8 @@

class ValidatorCacheWarmerTest extends TestCase
{
use ForwardCompatTestTrait;

public function testWarmUp()
{
$validatorBuilder = new ValidatorBuilder();
Expand Down

0 comments on commit db4780a

Please sign in to comment.