matrix-sdk: Test that we're passing the auth token in the headers.

master
Damir Jelić 2020-08-08 15:00:28 +02:00
parent d016ce1848
commit 17fd85d687
1 changed files with 1 additions and 0 deletions

View File

@ -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();