Simple compile only test for C4::Amazon
authorrangi <rangi>
Sun, 17 Jun 2007 23:44:04 +0000 (23:44 +0000)
committerrangi <rangi>
Sun, 17 Jun 2007 23:44:04 +0000 (23:44 +0000)
Needs tests written for the 2 functions in it.

misc/testKoha.pl
t/Amazon.t [new file with mode: 0644]

index af8d22e..03b2292 100644 (file)
@@ -28,6 +28,8 @@ use Test::Harness;
 
 my @tests=(
        't/Accounts.t',
+       't/Acquisition.t',
+       't/Amazon.t',
        't/format.t',
        't/Input.t',
        't/koha.t',
@@ -42,6 +44,10 @@ runtests (@tests);
 exit;
 
 # $Log$
+# Revision 1.3  2007/06/17 23:44:04  rangi
+# Simple compile only test for C4::Amazon
+# Needs tests written for the 2 functions in it.
+#
 # Revision 1.2  2007/06/17 23:35:36  rangi
 # Working on unit tests
 #
diff --git a/t/Amazon.t b/t/Amazon.t
new file mode 100644 (file)
index 0000000..d07963a
--- /dev/null
@@ -0,0 +1,7 @@
+# Basic compile test only at this stage, needs to be fleshed out
+
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::Amazon;
+$loaded = 1;
+print "ok 1\n";