|
|
|
@ -93,8 +93,8 @@ class UserModelTest extends CIDatabaseTestCase
|
|
|
|
|
$this->assertFalse($newUser); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function testUpdate() |
|
|
|
|
{ |
|
|
|
|
// public function testUpdate() |
|
|
|
|
// { |
|
|
|
|
// $this->assertFalse($this->model->update(2, ['email' => 'admin@example.com'])); |
|
|
|
|
// print_r($this->model->errors()); |
|
|
|
|
// $this->assertEquals(lang('Aauth.existsAlreadyEmail'), $this->model->errors()[0]); |
|
|
|
@ -131,5 +131,5 @@ class UserModelTest extends CIDatabaseTestCase
|
|
|
|
|
|
|
|
|
|
// $this->assertFalse($this->library->updateUser(2)); |
|
|
|
|
// $this->assertCount(0, $this->library->getErrorsArray()); |
|
|
|
|
} |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|