Merge pull request #1546 from matrix-org/luke/fix-MELS-plural-strings-in-tests

Add sensible missing entry generator for MELS tests
This commit is contained in:
Luke Barnard 2017-10-27 17:26:08 +01:00 committed by GitHub
commit 47c395ec06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,9 @@ describe('MemberEventListSummary', function() {
sandbox = testUtils.stubClient();
languageHandler.setLanguage('en').done(done);
languageHandler.setMissingEntryGenerator(function(key) {
return key.split('|', 2)[1];
});
});
afterEach(function() {