1
0
mirror of synced 2024-12-13 14:56:01 +03:00

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:
John Brown 2013-06-06 15:51:23 -07:00
parent 77b905eaa8
commit 9bea612d74

View File

@ -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
*/