1
0
mirror of synced 2025-01-24 01:01:41 +03:00

[DDC-2775] cleanup test.

This commit is contained in:
Benjamin Eberlei 2014-01-02 23:11:07 +01:00
parent 17809abd29
commit e91ed74b25

View File

@ -54,7 +54,7 @@ class DDC2775Test extends OrmFunctionalTestCase
}
/**
* @Entity
* @Entity @Table(name="ddc2775_role")
* @InheritanceType("JOINED")
* @DiscriminatorColumn(name="role_type", type="string")
* @DiscriminatorMap({"admin"="AdminRole"})
@ -84,13 +84,13 @@ abstract class Role
}
}
/** @Entity */
/** @Entity @Table(name="ddc2775_admin_role") */
class AdminRole extends Role
{
}
/**
* @Entity @Table(name="authorizations")
* @Entity @Table(name="ddc2775_authorizations")
*/
class Authorization
{
@ -112,7 +112,7 @@ class Authorization
}
/**
* @Entity @Table(name="users")
* @Entity @Table(name="ddc2775_users")
*/
class User
{