Adding simple test to ensure quoting of table names still functions. Note: the funtionality of this change won't be noticiable unless a custom quote strategy is implemented
This commit is contained in:
parent
77b905eaa8
commit
9bea612d74
@ -1831,6 +1831,17 @@ class SelectSqlGenerationTest extends \Doctrine\Tests\OrmTestCase
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @group DDC-1845
|
||||
*/
|
||||
public function testQuotedTableDeclaration()
|
||||
{
|
||||
$this->assertSqlGeneration(
|
||||
'SELECT u FROM Doctrine\Tests\Models\Quote\User u',
|
||||
'SELECT q0_."user-id" AS userid0, q0_."user-name" AS username1 FROM "quote-user" q0_'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @group DDC-1845
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user