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' )