2 use Test::More tests => 4;
4 use_ok( "C4::Utils::DataTables::Members" );
6 my $patrons = C4::Utils::DataTables::Members::search({
8 searchfieldstype => 'standard',
9 searchtype => 'contain'
12 isnt( $patrons->{iTotalDisplayRecords}, undef, "The iTotalDisplayRecords key is defined");
13 isnt( $patrons->{iTotalRecords}, undef, "The iTotalRecords key is defined");
14 is( ref $patrons->{patrons}, 'ARRAY', "The patrons key is an arrayref");