function RestLoginHttpTest::resetFlood
Same name and namespace in other branches
- main core/modules/rest/tests/src/Functional/RestLoginHttpTest.php \Drupal\Tests\rest\Functional\RestLoginHttpTest::resetFlood()
Resets all flood entries.
File
-
core/
modules/ rest/ tests/ src/ Functional/ RestLoginHttpTest.php, line 288
Class
- RestLoginHttpTest
- Tests login and password reset via direct HTTP.
Namespace
Drupal\Tests\rest\FunctionalCode
protected function resetFlood() : void {
$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.