Issue #3138796 by jungle, mohrerao, sja112, kkalashnikov, xjm, ketikagrover: Fix the typos "cotrol" and make the one-line summaries containing it conform to standards)

merge-requests/2/head
xjm 2020-06-25 09:05:22 -05:00
parent c9c6fa120d
commit 69fc22c0d2
2 changed files with 4 additions and 5 deletions

View File

@ -370,7 +370,6 @@ copmplete
corefake
coretest
corge
cotrol
countquery
coversions
cpan

View File

@ -391,28 +391,28 @@ class UserPasswordResetTest extends BrowserTestBase {
}
/**
* 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.');