From d44d407bca238cab17bb8e1d2b21b82831c53b88 Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Wed, 28 Jul 2021 11:05:52 +0200 Subject: [PATCH] Enable debug --- lemonldap-ng-portal/t/42-Register-Demo-with-CustomBody.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemonldap-ng-portal/t/42-Register-Demo-with-CustomBody.t b/lemonldap-ng-portal/t/42-Register-Demo-with-CustomBody.t index a71d848dc..64ffd6ca8 100644 --- a/lemonldap-ng-portal/t/42-Register-Demo-with-CustomBody.t +++ b/lemonldap-ng-portal/t/42-Register-Demo-with-CustomBody.t @@ -20,7 +20,7 @@ SKIP: { my $client = LLNG::Manager::Test->new( { ini => { - logLevel => 'error', + logLevel => 'debug', useSafeJail => 1, portalDisplayRegister => 1, authentication => 'Demo', @@ -73,7 +73,7 @@ Go to Portal $url', m#Hello Fôo Bà Bar, follows this link to register your account http://auth\.example\.com/register#s, 'Found custom body' ) or explain( $mail, 'Custom body (link)' ); - ok( $mail =~ /[?&](register_token=.+)[$&]/, 'Found register_token' ); + ok( $mail =~ /[?&](register_token=.+)[$&]/s, 'Found register_token' ); $query = $1; ok( $mail =~ /Fôo/, 'UTF-8 works' ) or explain( $mail, 'Fôo' ); ok( $mail =~ m#Expired time: \d{2}/\d{2}/\d{4} \d{2}:\d{2}#s, 'Found time' )