diff options
author | David Lawrence <dkl@mozilla.com> | 2016-08-23 23:07:12 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-08-23 23:07:12 +0200 |
commit | be3d5a23267bb7466c56af6c5d683760d33d5c7a (patch) | |
tree | 12c9b16ec4abb052b7d8424d88affbc8e3dd73bd | |
parent | 3987a28e9d50a1a7b4f4c890ba91c362cfa53e9d (diff) | |
download | bugzilla-be3d5a23267bb7466c56af6c5d683760d33d5c7a.tar.gz bugzilla-be3d5a23267bb7466c56af6c5d683760d33d5c7a.tar.xz |
- Fix failing CI tests due to recent login/email changes
-rw-r--r-- | xt/config/checksetup_answers.txt | 1 | ||||
-rwxr-xr-x | xt/config/generate_test_data.pl | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/xt/config/checksetup_answers.txt b/xt/config/checksetup_answers.txt index 29a1563d6..77484c777 100644 --- a/xt/config/checksetup_answers.txt +++ b/xt/config/checksetup_answers.txt @@ -11,6 +11,7 @@ $answer{'db_mysql_ssl_client_cert'} = ''; $answer{'db_mysql_ssl_client_key'} = ''; $answer{'urlbase'} = 'http://localhost/bugzilla/'; + $answer{'use_email_as_login'} = 1; $answer{'create_htaccess'} = ''; $answer{'use_suexec'} = ''; $answer{'index_html'} = 0; diff --git a/xt/config/generate_test_data.pl b/xt/config/generate_test_data.pl index ce065998b..c3e8537c8 100755 --- a/xt/config/generate_test_data.pl +++ b/xt/config/generate_test_data.pl @@ -137,7 +137,7 @@ foreach my $username (@usernames) { $login ||= $config->{"${prefix}_user_login"}; my $api_key = $config->{"${prefix}_user_api_key"}; - if (is_available_username($login)) { + if (is_available_email($login)) { my %extra_args; if ($username eq 'disabled') { $extra_args{disabledtext} = '!!This is the text!!'; |