Updates tests, the one created the room is owner.

cusax-fix 4805
Damian Minkov 12 years ago
parent 5758aab617
commit 294d1af473

@ -1286,7 +1286,7 @@ public void testInitialParticipantsRoles()
// User1 who just created the room is supposed to be the owner:
assertEquals("Unexpected role for user1",
roomUser1.getUserRole(), ChatRoomMemberRole.MODERATOR);
roomUser1.getUserRole(), ChatRoomMemberRole.OWNER);
assertEquals("Unexpected role for user1", roomUser1.getUserRole(),
getRole(fixture.userID1, roomUser1.getMembers(),
roomUser1.getName(), true));

Loading…
Cancel
Save