diff --git a/spec/unit/rust-crypto/OutgoingRequestProcessor.spec.ts b/spec/unit/rust-crypto/OutgoingRequestProcessor.spec.ts index 5ea91e02864..57490c00e76 100644 --- a/spec/unit/rust-crypto/OutgoingRequestProcessor.spec.ts +++ b/spec/unit/rust-crypto/OutgoingRequestProcessor.spec.ts @@ -121,7 +121,7 @@ describe("OutgoingRequestProcessor", () => { it("should handle ToDeviceRequests", async () => { // first, mock up the ToDeviceRequest as we might expect to receive it from the Rust layer ... - const testBody = '{ "foo": "bar" }'; + const testBody = '{ "messages": { "user": {"device": "bar" }}}'; const outgoingRequest = new ToDeviceRequest("1234", "test/type", "test/txnid", testBody); // ... then poke it into the OutgoingRequestProcessor under test.