Resolve "Create a filter/aggregator by user center for the exports"

This commit is contained in:
2026-03-09 11:19:38 +00:00
committed by Julien Fastré
parent 8e8f459f90
commit 562fecb4aa
12 changed files with 534 additions and 9 deletions

View File

@@ -17,6 +17,7 @@ use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\QueryBuilder;
use Prophecy\PhpUnit\ProphecyTrait;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Contracts\Translation\TranslatableInterface;
/**
* Helper to test filters.
@@ -255,8 +256,8 @@ abstract class AbstractFilterTest extends KernelTestCase
$description = $this->getFilter()->describeAction($data, $context);
$this->assertTrue(
\is_string($description) || \is_array($description),
'test that the description is a string or an array'
\is_string($description) || \is_array($description) || $description instanceof TranslatableInterface,
'test that the description is a string or an array, or a TranslatableInterface'
);
if (\is_string($description)) {

View File

@@ -1,3 +1,7 @@
common:
after: Après
until: Jusqu'à
centers: Territoires
"This program is free software: you can redistribute it and/or modify it under the terms of the <strong>GNU Affero General Public License</strong>": "Ce programme est un logiciel libre: vous pouvez le redistribuer et/ou le modifier selon les termes de la licence <strong>GNU Affero GPL</strong>"
User manual: Manuel d'utilisation
Search: Rechercher