From 5b65d71e060ed33b24b85fd95f1fb26029cf404b Mon Sep 17 00:00:00 2001 From: Sam Sanders Date: Thu, 19 Jan 2012 16:18:48 +1300 Subject: [PATCH] [SIGNED-OFF]bug 5327 added unit test for C4/Csv.pm Signed-off-by: Chris Hall --- t/Csv.t | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/t/Csv.t b/t/Csv.t index 068f094..17cd8bb 100755 --- a/t/Csv.t +++ b/t/Csv.t @@ -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'); -- 1.7.4.1