Bug 7785: remove MySQL-specific syntax from C4::Members::columns()
[koha.git] / t / db_dependent / Members_columns.t
blob7a70ce41d16b2cb70543e2f2989529f8828e7e25
1 #!/usr/bin/perl
3 # This is to test C4/Members
4 # It requires a working Koha database with the sample data
6 use Modern::Perl;
8 use Test::More tests => 2;
10 BEGIN {
11 use_ok('C4::Members');
14 my @borrowers_columns = C4::Members->columns;
15 ok(
16 $#borrowers_columns > 1,
17 'C4::Member->column returned a reasonable number of columns ('
18 . ( $#borrowers_columns + 1 ) . ')'
20 or diag(
21 'WARNING: Check that the borrowers table exists and has the correct fields defined.'
24 exit;