3 namespace Doctrine\Tests\ORM\Functional\Ticket;
5 use Doctrine\Tests\OrmFunctionalTestCase;
10 class DDC1360Test extends OrmFunctionalTestCase
12 public function testSchemaDoubleQuotedCreate()
14 if ($this->_em->getConnection()->getDatabasePlatform()->getName() != "postgresql") {
15 $this->markTestSkipped("PostgreSQL only test.");
18 $sql = $this->_schemaTool->getCreateSchemaSQL(array(
19 $this->_em->getClassMetadata(__NAMESPACE__ . '\DDC1360DoubleQuote')
22 $this->assertEquals(array(
23 'CREATE TABLE "user"."user" (id INT NOT NULL, PRIMARY KEY(id))',
24 'CREATE SEQUENCE "user"."user_id_seq" INCREMENT BY 1 MINVALUE 1 START 1',
30 * @Entity @Table(name="`user`.`user`")
32 class DDC1360DoubleQuote
34 /** @Id @GeneratedValue @Column(type="integer") */