function 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.