summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-22 07:01:27 +0200
committerByron Jones <glob@mozilla.com>2015-05-22 07:01:27 +0200
commit216b28df38a104e5c119e4ea4f968e7360bd817e (patch)
tree1f0b56416a6289ffd0eeac74c97c9b1b34d325dc /contrib
parent09ff98ad16f9301c36b21fd0e4d143e7a4581419 (diff)
downloadbugzilla-216b28df38a104e5c119e4ea4f968e7360bd817e.tar.gz
bugzilla-216b28df38a104e5c119e4ea4f968e7360bd817e.tar.xz
docker/generate_bmo_data should fail if the admin@mozilla.bugs account does not exist
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/docker/generate_bmo_data.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/docker/generate_bmo_data.pl b/contrib/docker/generate_bmo_data.pl
index a99f48059..6a5717665 100755
--- a/contrib/docker/generate_bmo_data.pl
+++ b/contrib/docker/generate_bmo_data.pl
@@ -27,7 +27,7 @@ my $dbh = Bugzilla->dbh;
# set Bugzilla usage mode to USAGE_MODE_CMDLINE
Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
-Bugzilla->set_user(Bugzilla::User->new({ name => 'admin@mozilla.bugs' }));
+Bugzilla->set_user(Bugzilla::User->check({ name => 'admin@mozilla.bugs' }));
##########################################################################
# Set Default User Preferences