mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-28 11:09:51 -04:00
matrix-sdk: Test that we're passing the auth token in the headers.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user