mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-18 11:48:06 +00:00
Resolve "Create a filter/aggregator by user center for the exports"
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user