Fix unit test
This commit is contained in:
parent
062997e6ef
commit
18377f4088
|
|
@ -51,7 +51,6 @@ class UserTest extends Base
|
|||
{
|
||||
$u = new User($this->container);
|
||||
$this->assertNotFalse($u->create(array('username' => 'user1', 'password' => '123456', 'gitlab_id' => '1234')));
|
||||
$this->assertNotFalse($u->create(array('username' => 'user2', 'password' => '123456', 'gitlab_id' => '')));
|
||||
|
||||
$this->assertNotEmpty($u->getByGitlabId('1234'));
|
||||
$this->assertEmpty($u->getByGitlabId(''));
|
||||
|
|
|
|||
Loading…
Reference in New Issue