mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Update unit tests
This commit is contained in:
@@ -40,7 +40,7 @@ class Session_LoggerTest extends PhraseanetPHPUnitAbstract
|
||||
$params = array(
|
||||
':ses_id' => self::$DI['app']['session']->get('session_id')
|
||||
, ':usr_id' => self::$DI['app']['authentication']->getUser()->get_id()
|
||||
, ':site' => self::$DI['app']['phraseanet.registry']->get('GV_sit')
|
||||
, ':site' => self::$DI['app']['phraseanet.configuration']['main']['key']
|
||||
);
|
||||
|
||||
$stmt = $this->databox->get_connection()->prepare($sql);
|
||||
@@ -59,7 +59,7 @@ class Session_LoggerTest extends PhraseanetPHPUnitAbstract
|
||||
$params = array(
|
||||
':ses_id' => $ses_id
|
||||
, ':usr_id' => $usr_id
|
||||
, ':site' => self::$DI['app']['phraseanet.registry']->get('GV_sit')
|
||||
, ':site' => self::$DI['app']['phraseanet.configuration']['main']['key']
|
||||
);
|
||||
|
||||
$stmt = $this->databox->get_connection()->prepare($sql);
|
||||
|
Reference in New Issue
Block a user