fix tests

pull/21833/head
Bruno Windels 2018-08-22 16:00:03 +02:00
parent a54629276f
commit db7dd8e9e8
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ export function mkStubRoom(roomId = null) {
getAccountData: () => null,
hasMembershipState: () => null,
getVersion: () => '1',
getMyMembership: () => "join",
currentState: {
getStateEvents: sinon.stub(),
mayClientSendStateEvent: sinon.stub().returns(true),