Fix for bug 4928, problematic 78x display in OPAC
[koha.git] / t / Debug.t
blob967229cc0f0b941a9fefe47faf08fd404af119b7
1 #!/usr/bin/perl
3 use strict;
4 use warnings;
6 use Test::More tests => 3;
8 use vars qw($debug $cgi_debug);
10 BEGIN {
11 diag "BEFORE use: \$debug is " . (defined $debug ? $debug : 'not defined');
12 diag "BEFORE use: \$cgi_debug is " . (defined $cgi_debug ? $cgi_debug : 'not defined');
13 use_ok('C4::Debug');
16 diag " AFTER use: \$debug is " . (defined $debug ? $debug : 'not defined');
17 diag " AFTER use: \$cgi_debug is " . (defined $cgi_debug ? $cgi_debug : 'not defined');
18 ok(defined $debug, " \$debug defined and imported.");
19 ok(defined $cgi_debug, "\$cgi_debug defined and imported.");
21 diag "Done.";