update test for new /v1/feeds status code
parent
5acbd00ee0
commit
2f503497e9
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue