fixup! Merge branch 'master' of github.com:tus/tusd into v2

This commit is contained in:
Marius 2022-10-10 20:54:44 +02:00
parent 70ba0f5540
commit aff352c413
1 changed files with 2 additions and 2 deletions

View File

@ -325,11 +325,11 @@ func TestPost(t *testing.T) {
upload := NewMockFullUpload(ctrl) upload := NewMockFullUpload(ctrl)
gomock.InOrder( gomock.InOrder(
store.EXPECT().NewUpload(context.Background(), FileInfo{ store.EXPECT().NewUpload(gomock.Any(), FileInfo{
Size: 300, Size: 300,
MetaData: map[string]string{}, MetaData: map[string]string{},
}).Return(upload, nil), }).Return(upload, nil),
upload.EXPECT().GetInfo(context.Background()).Return(FileInfo{ upload.EXPECT().GetInfo(gomock.Any()).Return(FileInfo{
ID: "foo", ID: "foo",
Size: 300, Size: 300,
MetaData: map[string]string{}, MetaData: map[string]string{},