From 216b28df38a104e5c119e4ea4f968e7360bd817e Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 22 May 2015 13:01:27 +0800 Subject: docker/generate_bmo_data should fail if the admin@mozilla.bugs account does not exist --- contrib/docker/generate_bmo_data.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.3-24-g4f1b