Improve Scenario Test

This commit is contained in:
Dany De Bontridder 2019-10-26 16:33:29 +02:00
parent 67469ce1b5
commit 8ca0bc287b
6 changed files with 42 additions and 14 deletions

View file

@ -48,9 +48,7 @@ $card_count=$cn->get_array("select count(*),f_id ".
" f_id is not null ".
"group by f_id order by count(*) desc");
$a=new Fiche($cn,$card_count[0]['f_id']);
$min=$cn->get_value("select p_id from parm_periode order by p_start asc limit 1");
$max=$cn->get_value("select p_id from parm_periode order by p_start desc limit 1");
printf ("Max période %s Min période %s",$max,$min);
$result=$a->get_row($min,$max);
$result_date=$a->get_row_date('01.01.2010','01.01.2090');