Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91a5091

Browse files
committed
#6464 #6475 cleaning up test - removed invalid fetch join, CS
1 parent 025ed11 commit 91a5091

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

tests/Doctrine/Tests/ORM/Functional/Ticket/GH6464Test.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ protected function setUp()
1616
{
1717
parent::setUp();
1818

19-
$this->_schemaTool->createSchema(
20-
[
21-
$this->_em->getClassMetadata(GH6464Post::class),
22-
$this->_em->getClassMetadata(GH6464User::class),
23-
$this->_em->getClassMetadata(GH6464Author::class),
24-
]
25-
);
19+
$this->_schemaTool->createSchema([
20+
$this->_em->getClassMetadata(GH6464Post::class),
21+
$this->_em->getClassMetadata(GH6464User::class),
22+
$this->_em->getClassMetadata(GH6464Author::class),
23+
]);
2624
}
2725

2826
/**
@@ -34,7 +32,7 @@ protected function setUp()
3432
public function testIssue()
3533
{
3634
$query = $this->_em->createQueryBuilder()
37-
->select('p', 'a')
35+
->select('p')
3836
->from(GH6464Post::class, 'p')
3937
->innerJoin(GH6464Author::class, 'a', 'WITH', 'p.authorId = a.id')
4038
->getQuery();

0 commit comments

Comments
 (0)