Adding a simple test for Service.pm
[koha.git] / t / Boolean.t
index 4810833..4e67ee8 100755 (executable)
@@ -55,10 +55,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, 'OK:', undef
+   ], [
+      '"foo"',   \&f, 'OK:', 'foo'
    ],
 );
 }