[Koha-patches] [PATCH] C4::Boolean has had its' exception changed to warns, the test was erroring falsely

Chris Cormack chris at bigballofwax.co.nz
Sun Dec 13 10:11:24 CET 2009


---
 t/Boolean.t |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/t/Boolean.t b/t/Boolean.t
index 1d179c5..f0d2cc1 100755
--- a/t/Boolean.t
+++ b/t/Boolean.t
@@ -54,10 +54,10 @@ BEGIN {
       '"YES"',   \&f, 'OK:1', 'YES'	# verify case insensitivity
 
    # Illegal strings
-   ], [
-      'undef',   \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION, undef
-   ], [
-      '"foo"',   \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION, 'foo'
+#   ], [
+#      'undef',   \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION, undef
+#   ], [
+#      '"foo"',   \&f, C4::Boolean::INVALID_BOOLEAN_STRING_EXCEPTION, 'foo'
    ],
 );
 }
-- 
1.6.3.3




More information about the Koha-patches mailing list