mirror of https://github.com/matrix-org/gomatrix
Test response URL
This commit is contained in:
parent
4d75d81067
commit
971abecece
|
@ -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…
Reference in New Issue