1
0
mirror of synced 2025-03-21 07:23:55 +03:00

#1086 - Minor CS fixes applied to the test case (simplifying)

This commit is contained in:
Marco Pivetta 2014-11-11 23:40:19 +01:00
parent a0165858c4
commit 40849f8ae1

View File

@ -43,9 +43,7 @@ class DDC3223Test extends OrmFunctionalTestCase
}
}
/**
* @Entity @Table(name="ddc3223_journalist")
*/
/** @Entity @Table(name="ddc3223_journalist") */
class Journalist extends Participant
{
}
@ -60,15 +58,10 @@ class Journalist extends Participant
*/
class Participant
{
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
/** @Id @Column(type="integer") @GeneratedValue */
public $id;
/**
* @ManyToOne(targetEntity="ProfileStatus")
*/
/** @ManyToOne(targetEntity="ProfileStatus") */
public $profileStatus;
}
@ -82,10 +75,7 @@ class Participant
*/
class Status
{
/**
* @Id @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
private $id;
public function getId()
@ -99,5 +89,4 @@ class Status
*/
class ProfileStatus extends Status
{
}