mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +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,
|
$this->assertNotEmpty($description,
|
||||||
"test that the description is not empty");
|
"test that the description is not empty");
|
||||||
} elseif (is_array($description)) {
|
} 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
|
// test that the message is translated
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user