Commit 74912f04 authored by xjm's avatar xjm

Issue #3138796 by jungle, mohrerao, sja112, kkalashnikov, xjm, ketikagrover:...

Issue #3138796 by jungle, mohrerao, sja112, kkalashnikov, xjm, ketikagrover: Fix the typos "cotrol" and make the one-line summaries containing it conform to standards)
parent eb0596e6
......@@ -391,28 +391,28 @@ public function assertNoValidPasswordReset($name) {
}
/**
* Helper function to make assertions about a password reset triggering user flood cotrol.
* Makes assertions about a password reset triggering user flood control.
*/
public function assertPasswordUserFlood() {
$this->assertText(t('Too many password recovery requests for this account. It is temporarily blocked. Try again later or contact the site administrator.'), 'User password reset flood error message shown.');
}
/**
* Helper function to make assertions about a password reset not triggering user flood control.
* Makes assertions about a password reset not triggering user flood control.
*/
public function assertNoPasswordUserFlood() {
$this->assertNoText(t('Too many password recovery requests for this account. It is temporarily blocked. Try again later or contact the site administrator.'), 'User password reset flood error message not shown.');
}
/**
* Helper function to make assertions about a password reset triggering IP flood cotrol.
* Makes assertions about a password reset triggering IP flood control.
*/
public function assertPasswordIpFlood() {
$this->assertText(t('Too many password recovery requests from your IP address. It is temporarily blocked. Try again later or contact the site administrator.'), 'IP password reset flood error message shown.');
}
/**
* Helper function to make assertions about a password reset not triggering IP flood control.
* Makes assertions about a password reset not triggering IP flood control.
*/
public function assertNoPasswordIpFlood() {
$this->assertNoText(t('Too many password recovery requests from your IP address. It is temporarily blocked. Try again later or contact the site administrator.'), 'IP password reset flood error message not shown.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment