https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22644

--- Comment #3 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to