diff --git a/tests/units/UserTest.php b/tests/units/UserTest.php index e52f28492..f63ed3def 100644 --- a/tests/units/UserTest.php +++ b/tests/units/UserTest.php @@ -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(''));