From ac66388a7f71cc2dbbec31afbf9bc9807d29501f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 29 Jul 2019 13:27:49 +0100 Subject: [PATCH] Add missing stubs to stubRoom.currentState Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- test/test-utils.js | 2 ++ 1 file changed, 2 insertions(+) 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: {