Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove syspref count test; dubious utility

  • Loading branch information...
commit 5267357a588685a68d85ac61737442b2b54b3301 1 parent 0b418f9
@ctfliblime ctfliblime authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 t/syspref_defaults.t
View
4 t/syspref_defaults.t
@@ -4,13 +4,9 @@ use Koha;
use Test::More;
use C4::Context;
-my $pref_count = 349;
-
my $prefs = C4::Context::_seed_preference_defaults_cache();
is ref $prefs, 'HASH', 'Preference defaults parsable';
-is scalar keys %$prefs, $pref_count, 'Preference defaults count';
-
for my $pref_name (keys %$prefs) {
for my $pref_attr ( qw(value type options explanation) ) {
ok exists $prefs->{$pref_name}{$pref_attr}, "Pref '$pref_name' has key '$pref_attr'";
Please sign in to comment.
Something went wrong with that request. Please try again.