]> git.koha-community.org Git - koha.git/commit
Bug 6874: Add unit tests for C4::UploadedFiles
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 11 Apr 2013 12:36:27 +0000 (12:36 +0000)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 7 Aug 2015 18:22:06 +0000 (15:22 -0300)
commit209faec18305eb570bda377c1db03425cd53f087
tree682bc36df6f0de9643331312101640bc2d5efd53
parentbfe568018637afad544f38b538ef9f6d9aad068f
Bug 6874: Add unit tests for C4::UploadedFiles

Add unit tests for C4::UploadedFiles and move a variable
declaration at subroutine level instead of file level.
Add dependency to Test::CGI::Multipart

Still works, and the newly-provided unit tests have good test
coverage:
C4/UploadedFiles.pm 90.7    65.0    66.7    100.0   100.0    0.2    86.4

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/Installer/PerlDependencies.pm
cataloguing/value_builder/upload.pl
t/db_dependent/UploadedFiles.t [new file with mode: 0644]