diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-07 14:34:25 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-07 14:34:25 -0700 |
commit | 87ea46f7fa2b269f065181f7765352184bb59717 (patch) | |
tree | 20e37379d319535c954480e86765a580342118bd /Bugzilla.pm | |
parent | Bug 519835: Remove Bugzilla::Product::check_product() in favor of Bugzilla::P... (diff) | |
download | bugzilla-87ea46f7fa2b269f065181f7765352184bb59717.tar.gz bugzilla-87ea46f7fa2b269f065181f7765352184bb59717.tar.bz2 bugzilla-87ea46f7fa2b269f065181f7765352184bb59717.zip |
Bug 574879: Create a test that assures the correctness of Search.pm's
boolean charts
r=glob, a=mkanat
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r-- | Bugzilla.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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}); |