From f74fbbc40eacecefb162fa7abecdabcc7f98a32f Mon Sep 17 00:00:00 2001 From: Mathias Date: Fri, 2 Oct 2026 09:01:37 +0200 Subject: [PATCH] test(cmd): the uploads store double has the progress methods the worker now needs Co-Authored-By: Claude Sonnet 5.5 --- cmd/tapir/uploads_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/tapir/uploads_test.go b/cmd/tapir/uploads_test.go index f91e782..894aaae 100644 --- a/cmd/tapir/uploads_test.go +++ b/cmd/tapir/uploads_test.go @@ -6,6 +6,7 @@ import ( "os" "path/filepath" "testing" + "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -37,6 +38,12 @@ func (f *fakeUploadsStore) CompleteUpload(context.Context, string, string, domai return nil } +func (f *fakeUploadsStore) SaveProgress(context.Context, string, string, []domain.ProgressStep, time.Time) error { + return nil +} + +func (f *fakeUploadsStore) Heartbeat(context.Context, string, string) error { return nil } + func (f *fakeUploadsStore) FailInterruptedUploads(context.Context) (int, error) { f.sweeps++ return 2, f.sweepErr