nValues:=10// file name, path, remote_url, remote_id, size, md5, sha1, sha256, sha512, gitlab-workhorse-upload for just the upload (no metadata because we are not POSTing a valid zip file)
iflen(r.MultipartForm.Value)!=nValues{
t.Errorf("Expected to receive exactly %d values",nValues)
}
iflen(r.MultipartForm.File)!=0{
t.Error("Expected to not receive any files")
}
require.NoError(t,r.ParseMultipartForm(100000))
constnValues=10// file name, path, remote_url, remote_id, size, md5, sha1, sha256, sha512, gitlab-workhorse-upload for just the upload (no metadata because we are not POSTing a valid zip file)
require.Len(t,r.MultipartForm.Value,nValues)
require.Empty(t,r.MultipartForm.File,"multipart form files")