4 changed files with 4 additions and 6 deletions
@ -73,7 +73,6 @@ class UserTest extends CIDatabaseTestCase |
|||||||
|
|
||||||
$this->library = new Aauth(null, true); |
$this->library = new Aauth(null, true); |
||||||
$this->assertFalse($this->library->createUser('[email protected]', 'password123456', null)); |
$this->assertFalse($this->library->createUser('[email protected]', 'password123456', null)); |
||||||
print_r($this->library->getErrorsArray()); |
|
||||||
$this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->library->getErrorsArray()[0]); |
$this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->library->getErrorsArray()[0]); |
||||||
|
|
||||||
$this->library = new Aauth(null, true); |
$this->library = new Aauth(null, true); |
||||||
@ -114,7 +113,6 @@ class UserTest extends CIDatabaseTestCase |
|||||||
|
|
||||||
$this->library = new Aauth(null, true); |
$this->library = new Aauth(null, true); |
||||||
$this->assertFalse($this->library->updateUser(2, '[email protected]', null, null)); |
$this->assertFalse($this->library->updateUser(2, '[email protected]', null, null)); |
||||||
print_r($this->library->getErrorsArray()); |
|
||||||
$this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->library->getErrorsArray()[0]); |
$this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->library->getErrorsArray()[0]); |
||||||
|
|
||||||
$this->library = new Aauth(null, true); |
$this->library = new Aauth(null, true); |
||||||
|
Loading…
Reference in new issue