fixup! PHPUnit : adapt to new version

This commit is contained in:
Dany De Bontridder 2019-07-25 00:07:07 +02:00
parent 37fb99e168
commit 650afcfd89
2 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,8 @@ class Acc_BilanTest extends TestCase
$g_connection=new Database(DOSSIER);
$g_parameter=new Noalyss_Parameter_Folder($g_connection);
$this->object=new Acc_Bilan($g_connection);
$this->object->from = $g_connection->get_value('select min(p_id) from parm_periode');
$this->object->to = $g_connection->get_value('select max(p_id) from parm_periode');
}
/**

View file

@ -38,7 +38,7 @@ class UserTest extends TestCase
array(USE_ID, USE_FIRST_NAME, USE_NAME, USE_LOGIN, USE_ACTIVE, USE_PASS,
USE_ADMIN, USE_EMAIL));
$this->object=new User($cn, USE_ID);
$this->object=new User($this->cn, USE_ID);
}
/**