mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
More log into phpunit
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user