Subject: | Api/Providers/CasApp.pm is missing from last release |
lib/Lemonldap/NG/Manager/Api.pm is loading Lemonldap::NG::Manager::Api::Providers::CasApp and seem to use it in multiple locations but the file is missing from the distribution
Most unit test are raising a warning due to the missing file, for example
╰─> PERL_USE_UNSAFE_INC=1 prove -vlb t/11-save-appCat-changed-conf.t
t/11-save-appCat-changed-conf.t ..
ok 1 - use Lemonldap::NG::Manager::Cli::Lib;
[Mon Sep 21 15:07:49 2020] [LLNG:942] [error] Lemonldap::NG::Manager::Api load error: Can't locate Lemonldap/NG/Manager/Api/Providers/CasApp.pm in @INC (you may need to install the Lemonldap::NG::Manager::Api::Providers::CasApp module) (@INC contains: /root/rpmbuild/BUILD/Lemonldap-NG-Manager-2.0.9/lib /root/rpmbuild/BUILD/Lemonldap-NG-Manager-2.0.9/blib/lib /root/rpmbuild/BUILD/Lemonldap-NG-Manager-2.0.9/blib/arch /root/.dotfiles/perl-must-have/lib /root/perl5/lib/perl5//x86_64-linux-64int /root/perl5/lib/perl5/ /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/530/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/530/lib/perl5/5.30.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/530/lib/perl5/5.30.0 /opt/cpanel/perl5/530/site_lib/x86_64-linux-64int /opt/cpanel/perl5/530/site_lib .) at /root/rpmbuild/BUILD/Lemonldap-NG-Manager-2.0.9/lib/Lemonldap/NG/Manager/Api.pm line 16, <FILE> line 2.
BEGIN failed--compilation aborted at /root/rpmbuild/BUILD/Lemonldap-NG-Manager-2.0.9/lib/Lemonldap/NG/Manager/Api.pm line 16, <FILE> line 2.
Compilation failed in require at (eval 81) line 1, <FILE> line 2.
[Mon Sep 21 15:07:49 2020] [LLNG:942] [error] Unable to load api, skipping
ok 2 - Client object
ok 3 - Changed conf with deleted Category: positive result
ok 4 - Changed conf with deleted Category: result code is 200
ok 5 - Changed conf with deleted Category: result body contains JSON text
ok 6 - Changed conf with deleted Category: JSON response contains "result:1"
ok 7 - Changed conf with deleted Category: conf has changed
ok 8 - Changed conf with deleted Category: new key received
ok 9 - Changed conf with deleted Category: old key received
ok 10 - Changed conf with deleted Category: key received
ok 11 - Changed conf with deleted Category: file is created
1..11
ok
All tests successful.
Files=1, Tests=11, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.63 cusr 0.09 csys = 0.76 CPU)
Result: PASS