fix invalid test on expected return by getDescriptionAction

This commit is contained in:
Julien Fastré 2017-01-12 17:45:56 +01:00
parent b5737f4801
commit d90248349d

View File

@ -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 {