function UserLoginHttpTest::resetFlood
Same name in other branches
- 8.9.x core/modules/user/tests/src/Functional/UserLoginHttpTest.php \Drupal\Tests\user\Functional\UserLoginHttpTest::resetFlood()
- 10 core/modules/user/tests/src/Functional/UserLoginHttpTest.php \Drupal\Tests\user\Functional\UserLoginHttpTest::resetFlood()
- 11.x core/modules/user/tests/src/Functional/UserLoginHttpTest.php \Drupal\Tests\user\Functional\UserLoginHttpTest::resetFlood()
Resets all flood entries.
1 call to UserLoginHttpTest::resetFlood()
- UserLoginHttpTest::doTestLogin in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Do login testing for a given serialization format.
File
-
core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php, line 284
Class
- UserLoginHttpTest
- Tests login and password reset via direct HTTP.
Namespace
Drupal\Tests\user\FunctionalCode
protected function resetFlood() {
$this->container
->get('database')
->delete(DatabaseBackend::TABLE_NAME)
->execute();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.