diff --git a/test/test-utils.js b/test/test-utils.js index 6dd9158b74..5459895147 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -251,6 +251,8 @@ export function mkStubRoom(roomId = null) { getStateEvents: sinon.stub(), mayClientSendStateEvent: sinon.stub().returns(true), maySendStateEvent: sinon.stub().returns(true), + maySendEvent: sinon.stub().returns(true), + maySendMessage: sinon.stub().returns(true), members: [], }, tags: {