From 1675d3c4ba368c292ed49bf93c013f13a6d513ee Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 15 Aug 2018 13:22:26 +0200 Subject: [PATCH] room stub not having getVersion method broke tests --- test/test-utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-utils.js b/test/test-utils.js index 0e8fb1df79..975a4df0ee 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -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),