Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Téo GODDET
lemonldap-ng
Commits
21ba54ca
Commit
21ba54ca
authored
Feb 16, 2021
by
Christophe Maudoux
🐛
Browse files
Fix warning
parent
c1951ce3
Changes
4
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-portal/t/02-Password-Demo.t
View file @
21ba54ca
...
...
@@ -138,7 +138,7 @@ count(1);
expectReject
(
$res
,
200
,
35
,
"
Expect PE_PASSWORD_OK
"
);
# Check updated password in session (#2430)
my
$json
=
$json
=
expectJSON
(
$client
->
_get
("
/sessions/global/
$id
"),
'
Get session content
'
);
is
(
$json
->
{
_password
},
"
test
",
"
password updated in session
"
);
count
(
1
);
...
...
lemonldap-ng-portal/t/29-AuthGPG.t
View file @
21ba54ca
...
...
@@ -63,4 +63,4 @@ SKIP: {
count
(
$mainTests
);
clean_sessions
();
done_testing
(
count
()
);
done_testing
();
lemonldap-ng-portal/t/34-Auth-Proxy-and-REST-sessions.t
View file @
21ba54ca
...
...
@@ -113,6 +113,7 @@ clean_sessions();
done_testing
(
count
()
);
# Redefine LWP methods for tests
no
warnings
'
redefine
';
sub
switch
{
my
$type
=
shift
;
@
Lemonldap::NG::Handler::Main::
_onReload
=
@
{
...
...
lemonldap-ng-portal/t/43-MailPasswordReset-Combination.t
View file @
21ba54ca
...
...
@@ -39,7 +39,7 @@ SKIP: {
expectCookie
(
try
(
'
jkirk
',
'
jkirk
'
)
);
# Get mail reset code
my
$query
=
getMailQuery
('
jkirk@trek.star
');
$query
=
getMailQuery
('
jkirk@trek.star
');
# Set new password
expectPortalError
(
updatePassword
(
$query
,
"
kobayashi
"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment