1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Fix expectKeyQuery test

This commit is contained in:
Marcel
2020-04-07 16:19:46 +02:00
parent 1b3c4c935e
commit 916696c906

View File

@@ -185,7 +185,7 @@ TestClient.prototype.expectKeyQuery = function(response) {
200, (path, content) => { 200, (path, content) => {
Object.keys(response.device_keys).forEach((userId) => { Object.keys(response.device_keys).forEach((userId) => {
expect(content.device_keys[userId]).toEqual( expect(content.device_keys[userId]).toEqual(
{}, [],
"Expected key query for " + userId + ", got " + "Expected key query for " + userId + ", got " +
Object.keys(content.device_keys), Object.keys(content.device_keys),
); );