mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Fix unit tests
This commit is contained in:
@@ -424,7 +424,7 @@ class User
|
||||
self::GENDER_MISS,
|
||||
self::GENDER_MR,
|
||||
self::GENDER_MRS
|
||||
])) {
|
||||
], true)) {
|
||||
throw new InvalidArgumentException(sprintf("Invalid gender %s.", $gender));
|
||||
}
|
||||
|
||||
|
@@ -96,13 +96,13 @@ class ValidationSession
|
||||
}
|
||||
|
||||
/**
|
||||
* Get initiator_id
|
||||
* Get validation initiator
|
||||
*
|
||||
* @return integer
|
||||
* @return User
|
||||
*/
|
||||
public function getInitiator()
|
||||
{
|
||||
return $this->initiator_id;
|
||||
return $this->initiator;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user