477 |
rename($pathSrc_no_p0.'/'."20091106AUTPCP.pdf", $pathSrc_no_p0.'/'."20091106NDL.pdf"); |
rename($pathSrc_no_p0.'/'."20091106AUTPCP.pdf", $pathSrc_no_p0.'/'."20091106NDL.pdf"); |
478 |
rename($pathSrc_no_p0.'/'."20091106AUTPCP-1.pdf", $pathSrc_no_p0.'/'."20091106NDL-1.pdf"); |
rename($pathSrc_no_p0.'/'."20091106AUTPCP-1.pdf", $pathSrc_no_p0.'/'."20091106NDL-1.pdf"); |
479 |
|
|
|
//Déclarations paramètre |
|
|
$db = $this->digitalizedDocument->f->db; |
|
|
$DEBUG = NULL; |
|
480 |
//Retour de la fonction run_import |
//Retour de la fonction run_import |
481 |
$run_import = $this->digitalizedDocument->run_import($pathSrc, $pathDes, $db, $DEBUG); |
$run_import = $this->digitalizedDocument->run_import($pathSrc, $pathDes); |
482 |
$run_import_no_p0 = $this->digitalizedDocument->run_import($pathSrc_no_p0, $pathDes_no_p0, $db, $DEBUG); |
$run_import_no_p0 = $this->digitalizedDocument->run_import($pathSrc_no_p0, $pathDes_no_p0); |
483 |
//On vérifie que l'action s'est bien déroulée |
//On vérifie que l'action s'est bien déroulée |
484 |
$this->assertEquals($run_import, true); |
$this->assertEquals($run_import, true); |
485 |
$this->assertEquals($run_import_no_p0, true); |
$this->assertEquals($run_import_no_p0, true); |