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 {