use CreateFeedParams for CreateFeed

This commit is contained in:
nkanaev
2026-05-11 11:03:41 +01:00
parent 31274d17a5
commit 59af8aa62d
5 changed files with 53 additions and 36 deletions

View File

@@ -79,7 +79,7 @@ func TestFeedIcons(t *testing.T) {
log.SetOutput(io.Discard)
db, _ := storage.New(":memory:")
icon := []byte("test")
feed := db.CreateFeed("", "", "", "", nil)
feed := db.CreateFeed(storage.CreateFeedParams{})
db.UpdateFeed(feed.Id, storage.UpdateFeedParams{Icon: storage.SetNullable(&icon)})
log.SetOutput(os.Stderr)