protected function UserLoginHttpTest::resetFlood in Drupal 8
Same name and namespace in other branches
- 9 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 280
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();
}