* Fixing profile image tag

* Fixing unit test

* Fixing unit test
Этот коммит содержится в:
Corey Hulen
2017-09-19 13:34:39 -07:00
коммит произвёл Joram Wilander
родитель 0643bf5159
Коммит 99b7d65504
4 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@@ -866,8 +866,8 @@ func TestGetProfileImage(t *testing.T) {
}
_, resp = Client.GetProfileImage(user.Id, resp.Etag)
if resp.StatusCode != http.StatusNotModified {
t.Fatal("Should have hit etag")
if resp.StatusCode == http.StatusNotModified {
t.Fatal("Shouldn't have hit etag")
}
_, resp = Client.GetProfileImage("junk", "")