From 89e75a3ba6375cc1dd4c2e54850fdc9f4fc80513 Mon Sep 17 00:00:00 2001 From: Roman Amor Date: Tue, 14 Jan 2014 14:17:06 +1300 Subject: [PATCH] Bug 11543: Increasing test coverage for Category.pm To test: 1. Run prove t/Coverage.t 2. Apply patch 3. Run prove t/Coverage.t - Notice 2 tests were run Signed-off-by: daniel --- t/Category.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/Category.t b/t/Category.t index 6c251ea..084bd45 100755 --- a/t/Category.t +++ b/t/Category.t @@ -6,9 +6,11 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More tests => 2; BEGIN { use_ok('C4::Category'); } +ok( my @categories = C4::Category->all); + -- 1.7.9.5