diff --git a/src/Codeception/Module/Doctrine2.php b/src/Codeception/Module/Doctrine2.php index 2d293af..6e94e42 100644 --- a/src/Codeception/Module/Doctrine2.php +++ b/src/Codeception/Module/Doctrine2.php @@ -870,7 +870,7 @@ protected function proceedSeeInRepository(string $entity, array $params = []): a $this->debug($qb->getDQL()); $res = $qb->getQuery()->getArrayResult(); - return ['True', (count($res) > 0), "$entity with " . json_encode($params, JSON_THROW_ON_ERROR)]; + return ['True', (count($res) > 0), "$entity with " . $qb->getDQL()]; } /**