From 4b777b37355d35db9531639b364f049dedbba485 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 Signed-off-by: Chris Hall (cherry picked from commit f918c57e89d7dcc2ce0f824e54ca3285fc511f69) Signed-off-by: Chris Nighswonger (cherry picked from commit 329e39b8cc35cff1501cb175e1b43f32a9c17467) Signed-off-by: Chris Nighswonger --- t/Csv.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/t/Csv.t b/t/Csv.t index 068f094cf3..17cd8bbb03 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'); -- 2.39.5