From a0317d958705983166002b1861a68f0b71663f7a Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 5 Oct 2020 14:29:30 +0100 Subject: [PATCH] Fix tests --- spec/unit/crypto/DeviceList.spec.js | 2 ++ 1 file changed, 2 insertions(+) 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) {},