Bug 8015: (follow-up) move from the Koha to the C4 namespace
[koha.git] / t / Context.t
old mode 100644 (file)
new mode 100755 (executable)
index 1016250..12d1675
@@ -1,5 +1,10 @@
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use C4::Context;
-$loaded = 1;
-print "ok 1\n";
+#!/usr/bin/perl
+use strict;
+use warnings;
+use DBI;
+use Test::More tests => 1;
+use Test::MockModule;
+
+BEGIN {
+    use_ok('C4::Context');
+}