projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 7333 - modifying Members.t to use a branchcode that exists in the sample data
[koha_fer]
/
t
/
db_dependent
/
UploadedFile.t
diff --git
a/t/db_dependent/UploadedFile.t
b/t/db_dependent/UploadedFile.t
index
dd01e1b
..
e6008d9
100755
(executable)
--- a/
t/db_dependent/UploadedFile.t
+++ b/
t/db_dependent/UploadedFile.t
@@
-1,14
+1,16
@@
#!/usr/bin/perl
#
#!/usr/bin/perl
#
-# This Koha test module is a stub!
-# Add more tests here!!!
+
+# A simple test for UploadedFile
+# only ->new is covered
use strict;
use warnings;
use strict;
use warnings;
-use Test::More tests =>
1
;
+use Test::More tests =>
2
;
BEGIN {
use_ok('C4::UploadedFile');
}
BEGIN {
use_ok('C4::UploadedFile');
}
+ok(my $file = C4::UploadedFile->new());