1
0
mirror of synced 2025-02-02 13:31:45 +03:00

#6464 #6475 cleaning up test - removed invalid fetch join, CS

This commit is contained in:
Marco Pivetta 2017-08-11 21:39:13 +02:00
parent 9e6f061bfb
commit 2337b7aedd
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -16,13 +16,11 @@ class GH6464Test extends OrmFunctionalTestCase
{ {
parent::setUp(); parent::setUp();
$this->_schemaTool->createSchema( $this->_schemaTool->createSchema([
[ $this->_em->getClassMetadata(GH6464Post::class),
$this->_em->getClassMetadata(GH6464Post::class), $this->_em->getClassMetadata(GH6464User::class),
$this->_em->getClassMetadata(GH6464User::class), $this->_em->getClassMetadata(GH6464Author::class),
$this->_em->getClassMetadata(GH6464Author::class), ]);
]
);
} }
/** /**
@ -34,7 +32,7 @@ class GH6464Test extends OrmFunctionalTestCase
public function testIssue() public function testIssue()
{ {
$query = $this->_em->createQueryBuilder() $query = $this->_em->createQueryBuilder()
->select('p', 'a') ->select('p')
->from(GH6464Post::class, 'p') ->from(GH6464Post::class, 'p')
->innerJoin(GH6464Author::class, 'a', 'WITH', 'p.authorId = a.id') ->innerJoin(GH6464Author::class, 'a', 'WITH', 'p.authorId = a.id')
->getQuery(); ->getQuery();