Skip to content

Commit

Permalink
add wasabi test cases for ACL
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Oct 4, 2023
1 parent c8edf2a commit 4166618
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions tests/functions/ACL.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,43 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="s3" {
if(!setup(cred)) return;
testStoreAddACLObjectS3(cred);
});

// WASABI
it(title="check with Wasabi add acl for bucket store style",skip=Util::isWasabiNotSupported(), body = function( currentSpec ) {
var cred=Util::getWasabiCredentials();
if(!setup(cred)) return;
testStoreAddACLBucketStore(cred);
});

it(title="check with Wasabi add acl for bucket s3 style",skip=Util::isWasabiNotSupported(), body = function( currentSpec ) {
var cred=Util::getWasabiCredentials();
if(!setup(cred)) return;
testStoreAddACLBucketS3(cred);
});

it(title="check with Wasabi set acl for bucket store style",skip=Util::isWasabiNotSupported(), body = function( currentSpec ) {
var cred=Util::getWasabiCredentials();
if(!setup(cred)) return;
testStoreSetACLBucketStore(cred);
});

it(title="check with Wasabi set acl for bucket s3 style",skip=Util::isWasabiNotSupported(), body = function( currentSpec ) {
var cred=Util::getWasabiCredentials();
if(!setup(cred)) return;
testStoreSetACLBucketS3(cred);
});

it(title="check with Wasabi add acl for object store style",skip=Util::isWasabiNotSupported(), body = function( currentSpec ) {
var cred=Util::getWasabiCredentials();
if(!setup(cred)) return;
testStoreAddACLObjectStore(cred);
});

it(title="check with Wasabi add acl for object s3 style",skip=Util::isWasabiNotSupported(), body = function( currentSpec ) {
var cred=Util::getWasabiCredentials();
if(!setup(cred)) return;
testStoreAddACLObjectS3(cred);
});
});
}

Expand Down

0 comments on commit 4166618

Please sign in to comment.