2 changed files with 81 additions and 81 deletions
@ -81,9 +81,9 @@ class UserTest extends CIDatabaseTestCase
|
||||
]); |
||||
$this->assertEquals(lang('Aauth.infoUpdateSuccess'), $this->library->getInfosArray()[0]); |
||||
|
||||
$this->library->clearInfos(); |
||||
$this->assertFalse($this->library->updateUser(2, '[email protected]', null, null)); |
||||
$this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->library->getErrorsArray()[0]); |
||||
// $this->library->clearInfos(); |
||||
// $this->assertFalse($this->library->updateUser(2, '[email protected]', null, null)); |
||||
// $this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->library->getErrorsArray()[0]); |
||||
|
||||
$this->library->clearErrors(); |
||||
$this->assertFalse($this->library->updateUser(2, 'adminexample.com', null, null)); |
||||
|
Loading…
Reference in new issue