diff --git a/Test/Export/AbstractAggregatorTest.php b/Test/Export/AbstractAggregatorTest.php index 0f2e08f39..d7623788b 100644 --- a/Test/Export/AbstractAggregatorTest.php +++ b/Test/Export/AbstractAggregatorTest.php @@ -77,7 +77,7 @@ abstract class AbstractAggregatorTest extends KernelTestCase { foreach ($this->getQueryBuilders() as $qb) { foreach ($this->getFormData() as $data) { - yield array($qb, $data); + yield array(clone $qb, $data); } } } @@ -89,7 +89,7 @@ abstract class AbstractAggregatorTest extends KernelTestCase { foreach ($this->getQueryBuilders() as $qb) { foreach ($this->getFormData() as $data) { - yield array($qb, $data); + yield array(clone $qb, $data); } } }