mirror of
https://github.com/nkanaev/yarr.git
synced 2026-06-16 13:05:05 +00:00
use CreateFeedParams for CreateFeed
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user