/[openfoncier]/trunk/tests/testDigitalizedDocument.php
ViewVC logotype

Diff of /trunk/tests/testDigitalizedDocument.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8408 by fmichon, Mon Dec 3 19:41:11 2018 UTC revision 8989 by softime, Thu Oct 31 15:09:51 2019 UTC
# Line 477  class DigitalizedDocumentTest extends PH Line 477  class DigitalizedDocumentTest extends PH
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);

Legend:
Removed from v.8408  
changed lines
  Added in v.8989

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26