diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-05-07 10:48:43 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-05-07 10:48:43 -0700 |
commit | cc17cb32071c8fbf3bfa781b98d415638ebb966e (patch) | |
tree | fa66840b1e18fa7009bd2f5ff2653c2561d1ca28 /tests/units | |
parent | 143e7bb9877dee38e799c5d23402a51785276b38 (diff) |
Do not show inactive users in group members dropdown
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/Model/GroupMemberTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/units/Model/GroupMemberTest.php b/tests/units/Model/GroupMemberTest.php index edc9d98c..a296e20e 100644 --- a/tests/units/Model/GroupMemberTest.php +++ b/tests/units/Model/GroupMemberTest.php @@ -43,6 +43,8 @@ class GroupMemberTest extends Base $this->assertEquals(3, $userModel->create(array('username' => 'user2'))); $this->assertEquals(4, $userModel->create(array('username' => 'user3'))); $this->assertEquals(5, $userModel->create(array('username' => 'user4'))); + $this->assertEquals(6, $userModel->create(array('username' => 'user5'))); + $this->assertTrue($userModel->disable(6)); $this->assertTrue($groupMemberModel->addUser(1, 1)); $this->assertTrue($groupMemberModel->addUser(1, 2)); |