2 changed files with 2 additions and 0 deletions
@ -168,6 +168,7 @@ class LoginTest extends CIDatabaseTestCase |
|||||||
$this->library->login('[email protected]', 'password123456'); |
$this->library->login('[email protected]', 'password123456'); |
||||||
$this->library->login('[email protected]', 'password123456'); |
$this->library->login('[email protected]', 'password123456'); |
||||||
$this->assertFalse($this->library->login('[email protected]', 'password123456')); |
$this->assertFalse($this->library->login('[email protected]', 'password123456')); |
||||||
|
print_r($this->library->getErrorsArray()); |
||||||
$this->assertEquals(lang('Aauth.loginAttemptsExceeded'), $this->library->getErrorsArray()[0]); |
$this->assertEquals(lang('Aauth.loginAttemptsExceeded'), $this->library->getErrorsArray()[0]); |
||||||
} |
} |
||||||
|
|
||||||
|
Loading…
Reference in new issue