More log into phpunit
This commit is contained in:
parent
070aab8ab8
commit
42722fe7a2
@ -316,7 +316,7 @@ class FilesLibTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$result=dol_copy($file, $conf->admin->dir_temp.'/file.csv',0,1);
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertGreaterThanOrEqual(1,$result, 'copy into a dir that exists'); // Should be 1
|
||||
$this->assertGreaterThanOrEqual(1,$result, 'copy file ('.$file.') into a dir that exists ('.$conf->admin->dir_temp.'/file.csv'.')'); // Should be 1
|
||||
|
||||
// Again to test with overwriting=0
|
||||
$result=dol_copy($file, $conf->admin->dir_temp.'/file.csv',0,0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user