Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
884e86f7
Commit
884e86f7
authored
Dec 27, 2019
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve unit test (#2019)
parent
33b0942a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lemonldap-ng-portal/t/41-Captcha.t
lemonldap-ng-portal/t/41-Captcha.t
+2
-2
No files found.
lemonldap-ng-portal/t/41-Captcha.t
View file @
884e86f7
...
...
@@ -114,9 +114,9 @@ m%<input name="password" type="text" class="form-control key" autocomplete="off"
'
New captcha image inserted
'
);
ok
(
$res
->
[
2
]
->
[
0
]
=~
m#<img class="renewcaptchaclic
k
" src="/static/common/icons/arrow_refresh.png" alt="Renew Captcha" title="Renew Captcha" class="img-thumbnail mb-3" />#
,
m#<img class="renewcaptchaclic" src="/static/common/icons/arrow_refresh.png" alt="Renew Captcha" title="Renew Captcha" class="img-thumbnail mb-3" />#
,
'
Renew Captcha button found
'
);
)
or
explain
(
$res
->
[
2
]
->
[
0
],
'
Renew captcha button not found
'
);
# Try to renew captcha
ok
(
$res
=
$client
->
_get
(
'
/renewcaptcha
',
accept
=>
'
text/html
'
),
...
...
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