From 268678f934a715a5ea42812671ba5705e61289b7 Mon Sep 17 00:00:00 2001 From: nexryai <61890205+nexryai@users.noreply.github.com> Date: Fri, 9 Jan 2026 12:59:58 +0000 Subject: [PATCH] Fix tests --- test/s3.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/s3.test.ts b/test/s3.test.ts index c7dd29f..a006977 100644 --- a/test/s3.test.ts +++ b/test/s3.test.ts @@ -214,6 +214,7 @@ describe("S3 API Server with Google Drive Backend", () => { // 5. Presigned URL ใƒ†ใ‚นใƒˆ it("should verify presigned URLs from @aws-sdk/s3-request-presigner", async () => { const s3 = new S3Client({ + endpoint: `${endpoint}/my-bucket`, region: ENV.REGION, credentials: { accessKeyId: ENV.ACCESS_KEY, @@ -223,7 +224,7 @@ describe("S3 API Server with Google Drive Backend", () => { const command = new GetObjectCommand({ Bucket: "my-bucket", - Key: "my-bucket/test.png", + Key: "test.png", }); const url = await getSignedUrl(s3, command, { expiresIn: 3600 });