From 822b040577440f3ac6f778b8be0666a2bc3987d9 Mon Sep 17 00:00:00 2001 From: rangi Date: Mon, 18 Jun 2007 03:26:54 +0000 Subject: [PATCH] Removing tes for deprecated function, of course there are a ton more functions in here that need tests written for them --- t/koha.t | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/t/koha.t b/t/koha.t index 69fe981aca..f4ba20ff92 100644 --- a/t/koha.t +++ b/t/koha.t @@ -1,4 +1,4 @@ -BEGIN { $| = 1; print "1..6\n"; } +BEGIN { $| = 1; print "1..2\n"; } END {print "not ok 1\n" unless $loaded;} use C4::Koha; $loaded = 1; @@ -16,26 +16,4 @@ if ($date eq $newdate) { print "not ok 2\n"; } -# -# Check that &fixEthnicity returns correct values -# -if ('Maori' eq fixEthnicity('maori')) { - print "ok 3\n"; -} else { - print "not ok 3\n"; -} -if ('European/Pakeha' eq fixEthnicity('european')) { - print "ok 4\n"; -} else { - print "not ok 4\n"; -} -if ('Pacific Islander' eq fixEthnicity('pi')) { - print "ok 5\n"; -} else { - print "not ok 5\n"; -} -if ('Asian' eq fixEthnicity('asian')) { - print "ok 6\n"; -} else { - print "not ok 6\n"; -} + -- 2.39.2