From 17fd85d68720a978ef38e2f2b93eeb2c724d52f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Sat, 8 Aug 2020 15:00:28 +0200 Subject: [PATCH] matrix-sdk: Test that we're passing the auth token in the headers. --- matrix_sdk/src/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index 5fa243619..0298b1dff 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -2391,6 +2391,7 @@ mod test { ) .with_status(200) .with_body(test_json::SYNC.to_string()) + .match_header("authorization", "Bearer 1234") .create(); let client = Client::new(homeserver).unwrap();