From e9adcde4648b54db8d40f314ca938dca5080bb9c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 15 Sep 2017 14:30:40 -0400 Subject: Bug 1391702 - Replace Bugzilla::User::validate_password() with calls to Data::Password::passwdqc --- qa/t/webservice_user_create.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qa/t/webservice_user_create.t') diff --git a/qa/t/webservice_user_create.t b/qa/t/webservice_user_create.t index f82e71ae4..34b7a4896 100644 --- a/qa/t/webservice_user_create.t +++ b/qa/t/webservice_user_create.t @@ -16,7 +16,7 @@ use QA::Util; use Test::More tests => 75; my ($config, $xmlrpc, $jsonrpc, $jsonrpc_get) = get_rpc_clients(); -use constant NEW_PASSWORD => 'password'; +use constant NEW_PASSWORD => 'UiX1Shuuchid'; use constant NEW_FULLNAME => 'WebService Created User'; use constant PASSWORD_TOO_SHORT => 'a'; @@ -91,7 +91,7 @@ foreach my $rpc ($jsonrpc, $xmlrpc) { { user => 'admin', args => { email => new_login(), full_name => NEW_FULLNAME, password => PASSWORD_TOO_SHORT }, - error => 'password must be at least', + error => 'The password does not meet our security requirements for the following reason: too short', test => 'Password Too Short fails', }, { user => 'admin', -- cgit v1.2.3-24-g4f1b