From b0ef0376fb61a079f5527727c963e1d165b2207b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20OUDOT?= Date: Thu, 5 Nov 2020 10:14:42 +0100 Subject: [PATCH] Adapt unit test to new HTML code (#2374) --- lemonldap-ng-portal/t/40-Notifications-JSON-Server.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lemonldap-ng-portal/t/40-Notifications-JSON-Server.t b/lemonldap-ng-portal/t/40-Notifications-JSON-Server.t index 83692cf8c..01fac1b97 100644 --- a/lemonldap-ng-portal/t/40-Notifications-JSON-Server.t +++ b/lemonldap-ng-portal/t/40-Notifications-JSON-Server.t @@ -374,10 +374,10 @@ ok( ) or print STDERR Dumper( $res->[2]->[0] ); ok( $res->[2]->[0] =~ - m%%, + m%%, 'Checkbox is displayed' ) or print STDERR Dumper( $res->[2]->[0] ); -my @c = ( $res->[2]->[0] =~ m%[2]->[0] =~ m% One checkbox found' ) @@ -418,17 +418,17 @@ expectForm( $res, undef, '/notifback', 'reference1x1' ); ok( $res->[2]->[0] =~ - m%% + m%% and m%%, 'Checkbox is displayed' ) or print STDERR Dumper( $res->[2]->[0] ); ok( $res->[2]->[0] =~ - m%% + m%% and m%%, 'Checkbox is displayed' ) or print STDERR Dumper( $res->[2]->[0] ); -@c = ( $res->[2]->[0] =~ m%[2]->[0] =~ m% Two checkboxes found' )