parent
9e6f061bfb
commit
2337b7aedd
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user