X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=t%2FMessage.t;h=dc638321cc5a15a1a3a98c47c4205b4f8aab3999;hb=c22e18d5a097ce9ece52f68e3fd9a2bb77a772a2;hp=7641d575400541af6557a794f337c973ca950846;hpb=cc9a34c2748f8534a92ad2deb210cbfff6a32be2;p=srvgit diff --git a/t/Message.t b/t/Message.t index 7641d57540..dc638321cc 100755 --- a/t/Message.t +++ b/t/Message.t @@ -1,14 +1,29 @@ #!/usr/bin/perl + +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This Koha test module is a stub! -# Add more tests here!!! +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use Test::More tests => 1; +use t::lib::Mocks; BEGIN { - use_ok('C4::Message'); + # Mock the DB connexion and C4::Context + my $context = t::lib::Mocks::mock_dbh; + use_ok('C4::Message'); } +1;