mirror of https://github.com/vector-im/riot-web
fix tests
parent
a54629276f
commit
db7dd8e9e8
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue