diff options
author | Imbasaur <yarrusg@gmail.com> | 2016-04-29 15:20:48 +0200 |
---|---|---|
committer | Imbasaur <yarrusg@gmail.com> | 2016-04-29 15:20:48 +0200 |
commit | 7459bc1c40af72441ccdaff944ef2dc9465ba9bf (patch) | |
tree | fea088cdda93079aee9e719a1bbe8464358efbb0 /tests/integration/GroupMemberTest.php | |
parent | 99f275e5bb033cca33eee87b0e914645730f13d1 (diff) | |
parent | 81a25cbe6328eab7c4de0befc64186610ecc7f49 (diff) |
Merge pull request #2 from fguillot/master
merge
Diffstat (limited to 'tests/integration/GroupMemberTest.php')
-rw-r--r-- | tests/integration/GroupMemberTest.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/integration/GroupMemberTest.php b/tests/integration/GroupMemberTest.php index e84c0734..d49945b5 100644 --- a/tests/integration/GroupMemberTest.php +++ b/tests/integration/GroupMemberTest.php @@ -30,6 +30,14 @@ class GroupMemberTest extends Base $this->assertFalse($this->app->isGroupMember($groupId, 2)); } + public function testGetGroups() + { + $groups = $this->app->getMemberGroups(1); + $this->assertCount(1, $groups); + $this->assertEquals(1, $groups[0]['id']); + $this->assertEquals('My Group A', $groups[0]['name']); + } + public function testRemove() { $groupId = $this->getGroupId(); |