Update unit tests

This commit is contained in:
Romain Neutron
2013-06-11 11:50:22 +02:00
parent 39b91e3faa
commit 8ecc97e94e
41 changed files with 1354 additions and 2076 deletions

View File

@@ -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);