mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
use context where FormatterInterface is in use
This commit is contained in:
parent
d0811c8118
commit
828739edf5
@ -258,7 +258,9 @@ abstract class AbstractFilterTest extends KernelTestCase
|
|||||||
*/
|
*/
|
||||||
public function testDescriptionAction($data)
|
public function testDescriptionAction($data)
|
||||||
{
|
{
|
||||||
$description = $this->getFilter()->describeAction($data);
|
$context = new ExportGenerationContext((new User())->setLabel('test user'));
|
||||||
|
|
||||||
|
$description = $this->getFilter()->describeAction($data, $context);
|
||||||
|
|
||||||
$this->assertTrue(
|
$this->assertTrue(
|
||||||
\is_string($description) || \is_array($description),
|
\is_string($description) || \is_array($description),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user