From cd468fefb46caab3d28242dd113b9e1b050f96ea Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 13 Nov 2025 14:01:27 -0800 Subject: [PATCH] adjust messages --- weed/s3api/s3_list_parts_action_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weed/s3api/s3_list_parts_action_test.go b/weed/s3api/s3_list_parts_action_test.go index 6c00c23a9..db1979690 100644 --- a/weed/s3api/s3_list_parts_action_test.go +++ b/weed/s3api/s3_list_parts_action_test.go @@ -40,7 +40,7 @@ func TestListPartsActionMapping(t *testing.T) { queryParams: map[string]string{"uploadId": "test-upload-id"}, fallbackAction: s3_constants.ACTION_READ, expectedAction: "s3:ListMultipartUploadParts", - description: "GET request with uploadId should map to s3:ListParts (this was the missing mapping)", + description: "GET request with uploadId should map to s3:ListMultipartUploadParts (this was the missing mapping)", }, { name: "get_object_with_uploadId_and_other_params", @@ -54,7 +54,7 @@ func TestListPartsActionMapping(t *testing.T) { }, fallbackAction: s3_constants.ACTION_READ, expectedAction: "s3:ListMultipartUploadParts", - description: "GET request with uploadId plus other multipart params should map to s3:ListParts", + description: "GET request with uploadId plus other multipart params should map to s3:ListMultipartUploadParts", }, { name: "get_object_with_versionId", @@ -156,7 +156,7 @@ func TestListPartsActionMappingSecurityScenarios(t *testing.T) { description: "List multipart upload parts", queryParams: map[string]string{"uploadId": "upload-abc123"}, expectedAction: "s3:ListMultipartUploadParts", - securityNote: "FIXED: Now correctly maps to s3:ListParts instead of s3:GetObject", + securityNote: "FIXED: Now correctly maps to s3:ListMultipartUploadParts instead of s3:GetObject", }, { description: "Get actual object content",