Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
captcha
Commits
8e20e13e
Commit
8e20e13e
authored
Oct 04, 2019
by
Fabiano Sant'Ana
Browse files
Issue #3083792 by wundo, JeroenT: remove deprecated todos
parent
5ecbdb04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
src/Tests/CaptchaSessionReuseAttackTestCase.php
src/Tests/CaptchaSessionReuseAttackTestCase.php
+0
-2
tests/src/Functional/CaptchaAdminTest.php
tests/src/Functional/CaptchaAdminTest.php
+0
-2
No files found.
src/Tests/CaptchaSessionReuseAttackTestCase.php
View file @
8e20e13e
...
...
@@ -365,8 +365,6 @@ class CaptchaSessionReuseAttackTestCase extends WebTestBase {
->
save
();
// Go to log in form.
// @TODO Bartik has two login forms because of sidebar's one on
// user page that's why we have a bug.
$this
->
drupalGet
(
'<front>'
);
$this
->
assertCaptchaPresence
(
TRUE
);
...
...
tests/src/Functional/CaptchaAdminTest.php
View file @
8e20e13e
...
...
@@ -18,8 +18,6 @@ class CaptchaAdminTest extends CaptchaWebTestBase {
public
function
testAdminAccess
()
{
$this
->
drupalLogin
(
$this
->
normalUser
);
$this
->
drupalGet
(
self
::
CAPTCHA_ADMIN_PATH
);
// @TODO do we need this ?
// file_put_contents('tmp.simpletest.html', $this->drupalGetContent());
$this
->
assertText
(
t
(
'Access denied'
),
'Normal users should not be able to access the CAPTCHA admin pages'
,
'CAPTCHA'
);
$this
->
drupalLogin
(
$this
->
adminUser
);
...
...
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