1 changed files with 1 additions and 1 deletions
@ -92,6 +92,6 @@ class UserModelTest extends CIDatabaseTestCase |
|||||||
$config->loginUseUsername = true; |
$config->loginUseUsername = true; |
||||||
|
|
||||||
$this->model = new UserModel($this->db, null, $config); |
$this->model = new UserModel($this->db, null, $config); |
||||||
$this->assertFalse($this->model->insert(['email' => '[email protected]', 'password' => 'password123456'])); |
$this->assertFalse($this->model->insert(['email' => '[email protected]', 'password' => 'password123456', 'username' => ''])); |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue