From 43047c5008e8902cc43e2d36c93ba2f69c61a81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 17 Jan 2017 12:19:03 +0100 Subject: [PATCH] add test - test that getQueryKeys returns an array --- Test/Export/AbstractAggregatorTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Test/Export/AbstractAggregatorTest.php b/Test/Export/AbstractAggregatorTest.php index d7623788b..c03fecfc6 100644 --- a/Test/Export/AbstractAggregatorTest.php +++ b/Test/Export/AbstractAggregatorTest.php @@ -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),