Bug 17501: Additional polishing (POD, unit tests)
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 24 Nov 2016 13:13:22 +0000 (14:13 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:20:06 +0000 (14:20 +0000)
commita118dd2ba09c62f4d30475636f4900232ef80132
treef996ab6244f56d7433e7e7344fc4133c36345248
parent3acee793105f66ff0acc5b8879e3cbceb0fb2b54
Bug 17501: Additional polishing (POD, unit tests)

This patch adds some documentation lines.
And mainly rearrangs the tests in Upload.t. The 'basic CRUD testing' is
not needed separately any more. A new test catches the "file missing"
warn.

Test plan:
[1] Run perldoc on UploadedFile[s].pm
[2] Run t/db_dependent/Upload.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/UploadedFile.pm
Koha/UploadedFiles.pm
t/db_dependent/Upload.t