mirror of
https://github.com/matrix-org/gomatrix
synced 2025-05-15 20:13:22 +00:00
Test response URL
This commit is contained in:
parent
4d75d81067
commit
971abecece
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ func TestClient_GetAvatarUrl(t *testing.T) {
|
|||
t.Fatalf("GetAvatarURL: Got error: %s", err.Error())
|
||||
} else if response == "" {
|
||||
t.Fatal("GetAvatarURL: Got empty response")
|
||||
} else if response != "mxc://matrix.org/iJaUjkshgdfsdkjfn" {
|
||||
t.Fatalf("Unexpected response URL: %s", response)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue