diff --git a/src/cmd/server/handler/feeds_test.go b/src/cmd/server/handler/feeds_test.go index 4b3d85f..cc2d75b 100644 --- a/src/cmd/server/handler/feeds_test.go +++ b/src/cmd/server/handler/feeds_test.go @@ -29,7 +29,7 @@ func TestFeeds(t *testing.T) { r = r.WithContext(ctx) r.Header.Set("Content-Type", "application/x-www-form-urlencoded") h.ServeHTTP(w, r) - if w.Code != http.StatusOK { + if w.Code != http.StatusSeeOther { t.Errorf("(%d) %s", w.Code, w.Body.Bytes()) } found := false