From f90eb56c5aff0063c3dae62e98b2170fc9e7e47e Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Tue, 18 Jun 2024 08:09:27 +0200 Subject: [PATCH] Fix tests --- spec/integ/matrix-client-methods.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integ/matrix-client-methods.spec.ts b/spec/integ/matrix-client-methods.spec.ts index 06986652d48..c321403d591 100644 --- a/spec/integ/matrix-client-methods.spec.ts +++ b/spec/integ/matrix-client-methods.spec.ts @@ -257,7 +257,7 @@ describe("MatrixClient", function () { .when("POST", "/knock/" + encodeURIComponent(roomId)) .check((request) => { expect(request.data).toEqual({ reason: opts.reason }); - expect(request.queryParams).toEqual({ server_name: opts.viaServers }); + expect(request.queryParams).toEqual({ server_name: opts.viaServers, via: opts.viaServers }); }) .respond(200, { room_id: roomId });