Merge pull request #2119 from matrix-org/bwindels/fixroomsettingstest

Fix RoomSettings test
pull/21833/head
Bruno Windels 2018-08-15 13:56:13 +02:00 committed by GitHub
commit e534090da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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