projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 12508: adding an error message if a contract cannot be removed
[koha_fer]
/
t
/
Installer_PerlModules.t
diff --git
a/t/Installer_PerlModules.t
b/t/Installer_PerlModules.t
index
f64ed85
..
1d5a00c
100755
(executable)
--- a/
t/Installer_PerlModules.t
+++ b/
t/Installer_PerlModules.t
@@
-6,7
+6,7
@@
use strict;
use warnings;
use strict;
use warnings;
-use Test::More tests => 1
5
;
+use Test::More tests => 1
7
;
BEGIN {
use_ok('C4::Installer::PerlModules');
BEGIN {
use_ok('C4::Installer::PerlModules');
@@
-35,3
+35,5
@@
ok ($modules->module_count() >10 , 'count should be greater than 10');
my @module_list = $modules->module_list;
%params = map { $_ => 1 } @module_list;
ok (exists($params{"DBI"}), 'DBI exists in array');
my @module_list = $modules->module_list;
%params = map { $_ => 1 } @module_list;
ok (exists($params{"DBI"}), 'DBI exists in array');
+is ($modules->required('module'=>"String::Random"),1, 'String::Random should return 1 since required');
+ok (!$modules->version_info(), "Testing empty modules");