update test for new /v1/feeds status code

This commit is contained in:
Bel LaPointe
2025-05-07 19:45:39 -06:00
parent 5acbd00ee0
commit 2f503497e9

View File

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