blib/lib/Lemonldap/NG/Portal/CertificateResetByMail/Custom.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 21 CC 2 SCAR 12.8
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.6
1 package Lemonldap::NG::Portal::CertificateResetByMail::Custom;
2 use Lemonldap::NG::Portal::Lib::CustomModule;
3  
4 use strict;
5  
6 our @ISA = qw(Lemonldap::NG::Portal::Lib::CustomModule);
7 use constant {
8 custom_name => "CertificateResetByMail",
9 custom_config_key => "customResetCertByMail",
10 };
11  
12 sub new {
13 my ( $class, $self ) = @_;
14 unless ( $self->{conf}->{customRegister} ) {
15 die 'Custom register module not defined';
16 }
17 return $class->Lemonldap::NG::Portal::Lib::CustomModule::new($self);
18 }
19  
20 1;