diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-12 11:14:19 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-12 11:14:19 +0000 |
commit | 9d0efedaee1e522e0fbc1300aee0c27e3ebf3eae (patch) | |
tree | c31d39a5c4f1f8a44693514a061f2028623bc6fb /syweb/webclient/test | |
parent | move model/ into matrix-doc/drafts (diff) | |
download | synapse-9d0efedaee1e522e0fbc1300aee0c27e3ebf3eae.tar.xz |
Move room alias/id mapping logic from matrixService to modelService.
Diffstat (limited to 'syweb/webclient/test')
-rw-r--r-- | syweb/webclient/test/unit/filters.spec.js | 10 |
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() { |