Test response URL

This commit is contained in:
Richard Lewis 2017-02-15 23:05:35 +00:00
parent 4d75d81067
commit 971abecece
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}
}