Bug 17578 [QA Followup] - Update number of tests
[koha.git] / t / Log.t
blob601b90997420ecb20ca16678d3904059b3343c1f
1 #!/usr/bin/perl
3 # This Koha test module is a stub!
4 # Add more tests here!!!
6 use strict;
7 use warnings;
9 use Test::More tests => 3;
10 use t::lib::Mocks;
12 BEGIN {
13 use_ok('C4::Log');
16 t::lib::Mocks::mock_preference('BorrowersLog', 1);
17 t::lib::Mocks::mock_preference('CataloguingLog', 1);
18 t::lib::Mocks::mock_preference('IssueLog', 1);
19 t::lib::Mocks::mock_preference('ReturnLog', 1);
20 t::lib::Mocks::mock_preference('SubscriptionLog', 1);
21 t::lib::Mocks::mock_preference('LetterLog', 1);
22 t::lib::Mocks::mock_preference('FinesLog', 1);
24 ok( my $hash=GetLogStatus(),"Testing GetLogStatus");
26 ok( $hash->{BorrowersLog}, 'Testing hash is non empty');