From 288d85ecd6ea978795f6c0a25460d458f9dbdb07 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Thu, 5 Oct 2023 14:54:50 +0200 Subject: [PATCH] improve test case --- tests/general/VFSvsDirect.cfc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/general/VFSvsDirect.cfc b/tests/general/VFSvsDirect.cfc index 1a48e42..6151fe2 100644 --- a/tests/general/VFSvsDirect.cfc +++ b/tests/general/VFSvsDirect.cfc @@ -102,6 +102,9 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="s3" { assertTrue(fileExists(pathWithCred),path); // must exists now (VFS approach with implicit credentials) assertTrue(fileExists(path),path); + + var presignedURL=S3GeneratePresignedURL(path); + assertTrue(fileExists(presignedURL),presignedURL); //////////////////////////////////////////////////////////////////////// // deleteing the file again @@ -135,6 +138,9 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="s3" { // must exists now (VFS approach with implicit credentials) assertTrue(fileExists(path)); + var presignedURL=S3GeneratePresignedURL(path); + assertTrue(fileExists(presignedURL),presignedURL); + //////////////////////////////////////////////////////////////////////// // deleteing the file again VFS approach