From 87ea46f7fa2b269f065181f7765352184bb59717 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Wed, 7 Jul 2010 14:34:25 -0700 Subject: Bug 574879: Create a test that assures the correctness of Search.pm's boolean charts r=glob, a=mkanat --- Bugzilla.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla.pm') diff --git a/Bugzilla.pm b/Bugzilla.pm index eedcb85ee..33df05efb 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -463,6 +463,9 @@ sub usage_mode { elsif ($newval == USAGE_MODE_EMAIL) { $class->error_mode(ERROR_MODE_DIE); } + elsif ($newval == USAGE_MODE_TEST) { + $class->error_mode(ERROR_MODE_TEST); + } else { ThrowCodeError('usage_mode_invalid', {'invalid_usage_mode', $newval}); -- cgit v1.2.3-65-gdbad