Partial fix for Bug 1578: detect material type and don't load COinS unless the materi...
[koha_fer] / t / Biblio.t
old mode 100644 (file)
new mode 100755 (executable)
index 2b2560a..bed3a45
@@ -1,5 +1,17 @@
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use C4::Biblio;
-$loaded = 1;
-print "ok 1\n";
+#!/usr/bin/perl
+#
+# This Koha test module is a stub!  
+# Add more tests here!!!
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN {
+       use FindBin;
+       use lib $FindBin::Bin;
+       use override_context_prefs;
+        use_ok('C4::Biblio');
+}
+