You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/Doctrine/Tests/ORM/Functional/Ticket/GH5998Test.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ private function classTests($className): void
55
55
$this->_em->clear();
56
56
57
57
// Test query by id with fetch join
58
-
$child = $this->_em->createQuery('SELECT t, r FROM ' . $className . ' t JOIN t.rel r WHERE t.id = 1')->getOneOrNullResult();
58
+
$child = $this->_em->createQuery('SELECT t, r FROM ' . $className . ' t JOIN t.rel r WHERE t.id = ?0')->setParameter(0, $child->id)->getOneOrNullResult();
0 commit comments