mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix invalid test on expected return by getDescriptionAction
This commit is contained in:
parent
b5737f4801
commit
d90248349d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user