Updated unit test to reflect dol_delete_file changes
This commit is contained in:
parent
b91d1fa0ca
commit
7d08c95fcc
@ -339,10 +339,9 @@ class FilesLibTest extends PHPUnit_Framework_TestCase
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertTrue($result,'delete file');
|
||||
|
||||
// Again to test no error when deleteing a non existing file
|
||||
$result=dol_delete_file($conf->admin->dir_temp.'/file2.csv');
|
||||
print __METHOD__." result=".$result."\n";
|
||||
$this->assertTrue($result,'delete file that does not exists');
|
||||
$this->assertFalse($result,'delete file that does not exists');
|
||||
|
||||
// Test copy with special char / delete with blob
|
||||
$result=dol_copy($file, $conf->admin->dir_temp.'/file with [x] and é.csv',0,1);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user