1 files changed, 5 insertions, 5 deletions
diff --git a/syweb/webclient/test/unit/filters.spec.js b/syweb/webclient/test/unit/filters.spec.js
index 7324a8e028..ef33812939 100644
--- a/syweb/webclient/test/unit/filters.spec.js
+++ b/syweb/webclient/test/unit/filters.spec.js
@@ -8,10 +8,6 @@ describe('mRoomName filter', function() {
// mocked services which return the test values above.
var matrixService = {
- getRoomIdToAliasMapping: function(room_id) {
- return testAlias;
- },
-
config: function() {
return {
user_id: testUserId
@@ -33,7 +29,11 @@ describe('mRoomName filter', function() {
return {
current_room_state: testRoomState
};
- }
+ },
+
+ getRoomIdToAliasMapping: function(room_id) {
+ return testAlias;
+ },
};
beforeEach(function() {
|