Merge pull request #2119 from matrix-org/bwindels/fixroomsettingstest
Fix RoomSettings testpull/21833/head
commit
e534090da7
|
@ -255,6 +255,7 @@ export function mkStubRoom(roomId = null) {
|
||||||
getUnfilteredTimelineSet: () => null,
|
getUnfilteredTimelineSet: () => null,
|
||||||
getAccountData: () => null,
|
getAccountData: () => null,
|
||||||
hasMembershipState: () => null,
|
hasMembershipState: () => null,
|
||||||
|
getVersion: () => '1',
|
||||||
currentState: {
|
currentState: {
|
||||||
getStateEvents: sinon.stub(),
|
getStateEvents: sinon.stub(),
|
||||||
mayClientSendStateEvent: sinon.stub().returns(true),
|
mayClientSendStateEvent: sinon.stub().returns(true),
|
||||||
|
|
Loading…
Reference in New Issue