bug 5327 added unit test for C4/Csv.pm

Signed-off-by: Chris Hall <chrish@catalyst.net.nz>
This commit is contained in:
Sam Sanders 2012-01-19 16:18:48 +13:00 committed by Paul Poulain
parent dbb29b4042
commit f918c57e89
1 changed files with 5 additions and 1 deletions

View File

@ -6,9 +6,13 @@
use strict;
use warnings;
use Test::More tests => 1;
use Test::More tests => 4;
BEGIN {
use_ok('C4::Csv');
}
ok(C4::Csv::GetCsvProfiles(), 'test getting csv profiles');
is(C4::Csv::GetCsvProfile(),undef, 'test getting csv profiles');
ok(C4::Csv::GetCsvProfilesLoop(), 'test getting profile loop');