From 848fb3b2653e5a52a7928dafb211705b1f220df6 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 11 Feb 2022 11:26:56 -0500 Subject: [PATCH] ldap-legacy.t: specify the root password manually --- t/Hydra/Controller/User/ldap-legacy.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/t/Hydra/Controller/User/ldap-legacy.t b/t/Hydra/Controller/User/ldap-legacy.t index 64da6112..9cb197c0 100644 --- a/t/Hydra/Controller/User/ldap-legacy.t +++ b/t/Hydra/Controller/User/ldap-legacy.t @@ -7,7 +7,9 @@ use Catalyst::Test (); use HTTP::Request::Common; use JSON::MaybeXS; -my $ldap = LDAPContext->new(); +my $ldap = LDAPContext->new( + root_password => "the-root-password", +); my $users = { unrelated => $ldap->add_user("unrelated_user"), admin => $ldap->add_user("admin_user"), @@ -36,7 +38,7 @@ store: timeout: 30 debug: 0 binddn: "cn=root,dc=example" - bindpw: notapassword + bindpw: the-root-password start_tls: 0 start_tls_options: verify: none