Remove User_Adapter

This commit is contained in:
Nicolas Le Goff
2013-11-05 17:38:27 +01:00
parent 171390f7c8
commit c156f842c7
231 changed files with 3918 additions and 2986 deletions

View File

@@ -39,7 +39,7 @@ class Session_LoggerTest extends \PhraseanetTestCase
WHERE sit_session = :ses_id AND usrid = :usr_id AND site = :site';
$params = [
':ses_id' => self::$DI['app']['session']->get('session_id')
, ':usr_id' => self::$DI['app']['authentication']->getUser()->get_id()
, ':usr_id' => self::$DI['app']['authentication']->getUser()->getId()
, ':site' => self::$DI['app']['conf']->get(['main', 'key'])
];
@@ -50,7 +50,7 @@ class Session_LoggerTest extends \PhraseanetTestCase
$this->assertEquals($this->object->get_id(), $row['id']);
$log_id = $this->object->get_id();
$ses_id = self::$DI['app']['session']->get('session_id');
$usr_id = self::$DI['app']['authentication']->getUser()->get_id();
$usr_id = self::$DI['app']['authentication']->getUser()->getId();
$this->logout(self::$DI['app']);