Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
b1d2d061
Commit
b1d2d061
authored
Nov 14, 2018
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve unit test (#1508)
parent
68d90a4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
lemonldap-ng-portal/t/43-MailReset-LDAP.t
lemonldap-ng-portal/t/43-MailReset-LDAP.t
+14
-1
No files found.
lemonldap-ng-portal/t/43-MailReset-LDAP.t
View file @
b1d2d061
...
...
@@ -10,7 +10,7 @@ BEGIN {
}
my
(
$res
,
$user
,
$pwd
);
my
$maintests
=
7
;
my
$maintests
=
8
;
my
$mailSend
=
0
;
my
$mail2
=
0
;
...
...
@@ -88,6 +88,19 @@ SKIP: {
ok
(
mail
()
=~
/Your password was changed/
,
'
Password was changed
'
);
ok
(
$res
=
$client
->
_post
(
'
/
',
IO::
String
->
new
('
user=dwho&password=zz&test=sql
'),
length
=>
30
),
'
Auth query
'
);
expectOK
(
$res
);
my
$id
=
expectCookie
(
$res
);
$client
->
logout
(
$id
);
#print STDERR Dumper($query);
}
count
(
$maintests
);
...
...
Write
Preview
Markdown
is supported
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