From d90248349dee5c9d00f71a5d90796fe2d004febf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 12 Jan 2017 17:45:56 +0100 Subject: [PATCH] fix invalid test on expected return by getDescriptionAction --- Test/Export/AbstractFilterTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Test/Export/AbstractFilterTest.php b/Test/Export/AbstractFilterTest.php index b9e6e956c..c16bfb8c0 100644 --- a/Test/Export/AbstractFilterTest.php +++ b/Test/Export/AbstractFilterTest.php @@ -148,7 +148,8 @@ abstract class AbstractFilterTest extends KernelTestCase $this->assertNotEmpty($description, "test that the description is not empty"); } elseif (is_array($description)) { - $this->assertContainsOnly('string', $description); + $this->assertInternalType('string', $description[0], + "test that the first element in the description array is a string"); // test that the message is translated try {