Skip to content

Commit f3e5276

Browse files
Replace json_encode $params with DQL
1 parent afcf8f4 commit f3e5276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Doctrine2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ protected function proceedSeeInRepository(string $entity, array $params = []): a
870870
$this->debug($qb->getDQL());
871871
$res = $qb->getQuery()->getArrayResult();
872872

873-
return ['True', (count($res) > 0), "$entity with " . json_encode($params, JSON_THROW_ON_ERROR)];
873+
return ['True', (count($res) > 0), "$entity with " . $qb->getDQL()];
874874
}
875875

876876
/**

0 commit comments

Comments
 (0)