From aff352c413066bc5bfa53f6998024b5ef29240f3 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 10 Oct 2022 20:54:44 +0200 Subject: [PATCH] fixup! Merge branch 'master' of github.com:tus/tusd into v2 --- pkg/handler/post_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/handler/post_test.go b/pkg/handler/post_test.go index f8601cc..571cf3b 100644 --- a/pkg/handler/post_test.go +++ b/pkg/handler/post_test.go @@ -325,11 +325,11 @@ func TestPost(t *testing.T) { upload := NewMockFullUpload(ctrl) gomock.InOrder( - store.EXPECT().NewUpload(context.Background(), FileInfo{ + store.EXPECT().NewUpload(gomock.Any(), FileInfo{ Size: 300, MetaData: map[string]string{}, }).Return(upload, nil), - upload.EXPECT().GetInfo(context.Background()).Return(FileInfo{ + upload.EXPECT().GetInfo(gomock.Any()).Return(FileInfo{ ID: "foo", Size: 300, MetaData: map[string]string{},