From 33269a839d21a20eaf9e612bb04460b35c261832 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 7 Nov 2017 15:39:08 +0100 Subject: [PATCH] fix manager class name, and ensure it is loaded --- lib/IdPAccountManager/Tools.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/IdPAccountManager/Tools.pm b/lib/IdPAccountManager/Tools.pm index 240e058..54e02aa 100644 --- a/lib/IdPAccountManager/Tools.pm +++ b/lib/IdPAccountManager/Tools.pm @@ -8,6 +8,8 @@ use Encode; use Template; use Template::Stash; +use IdPAccountManager::Data::TestAccount::Manager; + INIT { ## a TT2 virtual method to get a variable type $Template::Stash::LIST_OPS->{isa} = sub { @@ -86,7 +88,7 @@ sub update_ssp_authsources { INCLUDE_PATH => $templates_dir }); my %args = ( - accounts => IdPAccountManager::TestAccount::Data::Manager->get_testaccounts(), + accounts => IdPAccountManager::Data::TestAccount::Manager->get_testaccounts(), conf => $conf, ); -- GitLab