Skip to content

Commit 8f6c868

Browse files
authored
Merge pull request #50 from frankverhoeven/replace-json_encode
Replace json_encode $params with DQL
2 parents afcf8f4 + f3e5276 commit 8f6c868

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)