From d3a463e9acb403f415cca5d97e9c36f021c0950c Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 17 Jun 2016 12:23:45 +0100 Subject: [PATCH] restore the room header too --- test/components/structures/RoomView-test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/components/structures/RoomView-test.js b/test/components/structures/RoomView-test.js index 9c34383316..8e4fb0428b 100644 --- a/test/components/structures/RoomView-test.js +++ b/test/components/structures/RoomView-test.js @@ -20,6 +20,7 @@ describe('RoomView', function () { sandbox = test_utils.stubClient(); this.oldTimelinePanel = Skinner.getComponent('structures.TimelinePanel'); + this.oldRoomHeader = Skinner.getComponent('views.rooms.RoomHeader'); Skinner.addComponent('structures.TimelinePanel', stubComponent()); Skinner.addComponent('views.rooms.RoomHeader', stubComponent()); @@ -29,6 +30,7 @@ describe('RoomView', function () { afterEach(function() { sandbox.restore(); Skinner.addComponent('structures.TimelinePanel', this.oldTimelinePanel); + Skinner.addComponent('views.rooms.RoomHeader', this.oldRoomHeader); }); it('resolves a room alias to a room id', function (done) {