Update presigned URL test for split service

Use the rebased filemanager method name in the regression test after
main split the S3 URL helpers into their own file.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Ludovic <ludovic@probo.com>
This commit is contained in:
Cursor Agent
2026-06-11 15:26:18 +00:00
parent 6794f14a24
commit 6c74a9fe6e

View File

@@ -73,7 +73,7 @@ func TestGenerateFileURL_PrivateFile(t *testing.T) {
)
}
func TestGeneratePresignedFileURL_EscapesContentDispositionFilename(t *testing.T) {
func TestGeneratePresignedURL_EscapesContentDispositionFilename(t *testing.T) {
t.Parallel()
s3Client := awss3.NewFromConfig(
@@ -90,7 +90,7 @@ func TestGeneratePresignedFileURL_EscapesContentDispositionFilename(t *testing.T
MimeType: "application/pdf",
}
rawURL, err := svc.GeneratePresignedFileURL(context.Background(), file, time.Hour)
rawURL, err := svc.GeneratePresignedURL(context.Background(), file, time.Hour)
require.NoError(t, err)
parsedURL, err := url.Parse(rawURL)