mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add test - test that getQueryKeys returns an array
This commit is contained in:
parent
3671918777
commit
43047c5008
@ -129,6 +129,8 @@ abstract class AbstractAggregatorTest extends KernelTestCase
|
||||
{
|
||||
$queryKeys = $this->getAggregator()->getQueryKeys($data);
|
||||
|
||||
$this->assertInternalType('array', $queryKeys,
|
||||
"test that the query keys returned are an array");
|
||||
$this->assertContainsOnly("string", $queryKeys,
|
||||
"test that the query keys returned by `getQueryKeys` are only strings");
|
||||
$this->assertGreaterThanOrEqual(1, count($queryKeys),
|
||||
|
Loading…
x
Reference in New Issue
Block a user