fixup! PHPUnit : adapt to new version
This commit is contained in:
parent
37fb99e168
commit
650afcfd89
2 changed files with 3 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue