update test for new /v1/feeds status code
This commit is contained in:
@@ -29,7 +29,7 @@ func TestFeeds(t *testing.T) {
|
|||||||
r = r.WithContext(ctx)
|
r = r.WithContext(ctx)
|
||||||
r.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
r.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
||||||
h.ServeHTTP(w, r)
|
h.ServeHTTP(w, r)
|
||||||
if w.Code != http.StatusOK {
|
if w.Code != http.StatusSeeOther {
|
||||||
t.Errorf("(%d) %s", w.Code, w.Body.Bytes())
|
t.Errorf("(%d) %s", w.Code, w.Body.Bytes())
|
||||||
}
|
}
|
||||||
found := false
|
found := false
|
||||||
|
|||||||
Reference in New Issue
Block a user