diff --git a/spec/unit/matrix-client.spec.js b/spec/unit/matrix-client.spec.js index 596be3464..4249d2d81 100644 --- a/spec/unit/matrix-client.spec.js +++ b/spec/unit/matrix-client.spec.js @@ -81,7 +81,8 @@ describe("MatrixClient", function() { accessToken: "my.access.token", request: function() {}, // NOP store: store, - scheduler: scheduler + scheduler: scheduler, + userId: userId }); // FIXME: We shouldn't be yanking _http like this. client._http = jasmine.createSpyObj("httpApi", [