MAJ en Thelia 2.3.4

This commit is contained in:
2020-05-03 08:14:07 +02:00
parent 72ddf49e60
commit 35a800ca0e
328 changed files with 9560 additions and 14163 deletions

3
tests/phpunit/Thelia/Tests/Command/CacheClearTest.php Normal file → Executable file
View File

@@ -12,6 +12,7 @@
namespace Thelia\Tests\Command;
use Symfony\Component\Cache\Adapter\ArrayAdapter;
use Symfony\Component\Console\Tester\CommandTester;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\EventDispatcher\EventDispatcher;
@@ -101,7 +102,7 @@ class CacheClearTest extends ContainerAwareTestCase
protected function buildContainer(ContainerBuilder $container)
{
$eventDispatcher = new EventDispatcher();
$eventDispatcher->addSubscriber(new Cache());
$eventDispatcher->addSubscriber(new Cache(new ArrayAdapter()));
$container->set("event_dispatcher", $eventDispatcher);