diff options
Diffstat (limited to 'workhorse/upload_test.go')
-rw-r--r-- | workhorse/upload_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/workhorse/upload_test.go b/workhorse/upload_test.go index 8effe291979..62a78dd9464 100644 --- a/workhorse/upload_test.go +++ b/workhorse/upload_test.go @@ -159,6 +159,9 @@ func TestAcceleratedUpload(t *testing.T) { {"PUT", "/api/v4/projects/9001/packages/nuget/v1/files", true}, {"PUT", "/api/v4/projects/group%2Fproject/packages/nuget/v1/files", true}, {"PUT", "/api/v4/projects/group%2Fsubgroup%2Fproject/packages/nuget/v1/files", true}, + {"PUT", "/api/v4/projects/9001/packages/nuget/v2/files", true}, + {"PUT", "/api/v4/projects/group%2Fproject/packages/nuget/v2/files", true}, + {"PUT", "/api/v4/projects/group%2Fsubgroup%2Fproject/packages/nuget/v2/files", true}, {"POST", `/api/v4/groups/import`, true}, {"POST", `/api/v4/groups/import/`, true}, {"POST", `/api/v4/projects/import`, true}, @@ -289,6 +292,8 @@ func TestUnacceleratedUploads(t *testing.T) { {"POST", `/api/v4/projects/group/project/wikis/attachments`}, {"PUT", "/api/v4/projects/group/subgroup/project/packages/nuget/v1/files"}, {"PUT", "/api/v4/projects/group/project/packages/nuget/v1/files"}, + {"POST", "/api/v4/projects/group/subgroup/project/packages/nuget/v2/files"}, + {"POST", "/api/v4/projects/group/project/packages/nuget/v2/files"}, {"POST", `/api/v4/projects/group/subgroup/project/packages/pypi`}, {"POST", `/api/v4/projects/group/project/packages/pypi`}, {"POST", `/api/v4/projects/group/subgroup/project/packages/pypi`}, |