From defa4b3ca7985780eb3e17a2607044a48ef93fd0 Mon Sep 17 00:00:00 2001 From: Sam Sanders Date: Thu, 19 Jan 2012 16:18:48 +1300 Subject: [PATCH] bug 5327 added unit test for C4/Csv.pm --- 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