1
0
mirror of synced 2025-02-02 21:41: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 025ed1147b
commit 91a5091612
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();
$this->_schemaTool->createSchema(
[
$this->_em->getClassMetadata(GH6464Post::class),
$this->_em->getClassMetadata(GH6464User::class),
$this->_em->getClassMetadata(GH6464Author::class),
]
);
$this->_schemaTool->createSchema([
$this->_em->getClassMetadata(GH6464Post::class),
$this->_em->getClassMetadata(GH6464User::class),
$this->_em->getClassMetadata(GH6464Author::class),
]);
}
/**
@ -34,7 +32,7 @@ class GH6464Test extends OrmFunctionalTestCase
public function testIssue()
{
$query = $this->_em->createQueryBuilder()
->select('p', 'a')
->select('p')
->from(GH6464Post::class, 'p')
->innerJoin(GH6464Author::class, 'a', 'WITH', 'p.authorId = a.id')
->getQuery();