From 8bcc77e07095dfd7aa0f8e06cf75e3545b6d6f14 Mon Sep 17 00:00:00 2001 From: Roman Amor Date: Tue, 14 Jan 2014 14:17:06 +1300 Subject: [PATCH 2/2] 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 --- 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