Commit 74912f04 authored by Jess's avatar Jess
Browse files

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
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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.');