matrix-sdk: Test that we're passing the auth token in the headers.
parent
d016ce1848
commit
17fd85d687
|
@ -2391,6 +2391,7 @@ mod test {
|
||||||
)
|
)
|
||||||
.with_status(200)
|
.with_status(200)
|
||||||
.with_body(test_json::SYNC.to_string())
|
.with_body(test_json::SYNC.to_string())
|
||||||
|
.match_header("authorization", "Bearer 1234")
|
||||||
.create();
|
.create();
|
||||||
|
|
||||||
let client = Client::new(homeserver).unwrap();
|
let client = Client::new(homeserver).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue