projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd45fb
)
updated testing
author
pate
<pate>
Fri, 31 May 2002 20:35:54 +0000
(20:35 +0000)
committer
pate
<pate>
Fri, 31 May 2002 20:35:54 +0000
(20:35 +0000)
t/koha.t
[new file with mode: 0644]
patch
|
blob
testKoha.pl
patch
|
blob
|
history
diff --git a/t/koha.t
b/t/koha.t
new file mode 100644
(file)
index 0000000..
b0b7e92
--- /dev/null
+++ b/
t/koha.t
@@ -0,0
+1,14
@@
+BEGIN { $| = 1; print "1..2\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use C4::Koha;
+$loaded = 1;
+print "ok 1\n";
+
+$date = "01/01/2002";
+$newdate = &slashifyDate("2002-01-01");
+
+if ($date eq $newdate) {
+ print "ok 2\n";
+} else {
+ print "not ok 2\n";
+}
diff --git
a/testKoha.pl
b/testKoha.pl
index
624bd82
..
30043a1
100644
(file)
--- a/
testKoha.pl
+++ b/
testKoha.pl
@@
-4,4
+4,4
@@
use strict;
use Test::Harness;
-runtests 'koha.t';
+runtests '
t/
koha.t';