Fix test
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
a5bf17ff65
commit
773af6c7be
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ function mockRoom(roomId, members, serverACL) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
roomId,
|
roomId,
|
||||||
getCanonicalAlias: () => roomId,
|
getCanonicalAlias: () => null,
|
||||||
getJoinedMembers: () => members,
|
getJoinedMembers: () => members,
|
||||||
getMember: (userId) => members.find(m => m.userId === userId),
|
getMember: (userId) => members.find(m => m.userId === userId),
|
||||||
currentState: {
|
currentState: {
|
||||||
|
|
Loading…
Reference in a new issue