From 2e861bf68ba8d5e277ac1edd88001c3abf0936da Mon Sep 17 00:00:00 2001 From: alex_h Date: Tue, 14 Jan 2014 11:52:04 +1300 Subject: [PATCH] bug 11537: Increasing test coverage for C4::Log To test: 1. run prove t/Log.t Notice 1 test is run 2. apply patch 3. run prove t/Log.t Notice 3 tests are run Signed-off-by: Liz Rea 3 tests are in fact run. Thanks for the patch! --- t/Log.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/Log.t b/t/Log.t index eca6b9c..20b96a9 100755 --- a/t/Log.t +++ b/t/Log.t @@ -6,9 +6,12 @@ use strict; use warnings; -use Test::More tests => 1; +use Test::More tests => 3; BEGIN { use_ok('C4::Log'); } +ok( my $hash=GetLogStatus(),"Testing git log status"); + +ok( $hash->{BorrowersLog}, 'Testing hash is non empty'); -- 1.7.9.5