diff --git a/spec/unit/crypto/DeviceList.spec.js b/spec/unit/crypto/DeviceList.spec.js index 1b92826e8..3ba25ae1f 100644 --- a/spec/unit/crypto/DeviceList.spec.js +++ b/spec/unit/crypto/DeviceList.spec.js @@ -72,6 +72,8 @@ describe('DeviceList', function() { function createTestDeviceList() { const baseApis = { downloadKeysForUsers: downloadSpy, + getUserId: () => '@test1:sw1v.org', + deviceId: 'HGKAWHRVJQ', }; const mockOlm = { verifySignature: function(key, message, signature) {},