13 May
2019
13 May
'19
2:52 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22644 --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- 162 my $delete = Koha::UploadedFiles->search({ id => $id })->delete; 163 isnt( $delete, "0E0", 'Delete successful' ); 164 isnt( -e $path, 1, 'File no longer found after delete' ); We are testing that the file has been deleted, but it never existed. Those tests do not test the whole purpose of the uploaded files. Moreover the new tests I have tried to write for bug 22508 are failing, because of this behavior. So, IMO, there is a real need here. -- You are receiving this mail because: You are watching all bug changes.