Skip to content

Commit

Permalink
LDEV-4635 improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Dec 23, 2024
1 parent 971590d commit 296f0a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tickets/LDEV4635.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="s3" {
fileWrite(srcDir & "region.txt", storelocation );

if ( arguments.invalid ) {
var args=arguments;
expect( function(){
directory action="copy" directory="#srcDir#" destination="#arguments.bucket#" storelocation="#arguments.storelocation#";
directory action="copy" directory="#srcDir#" destination="#args.bucket#" storelocation="#args.storelocation#";
}).toThrow();
} else {
// try coping local dir to a new s3 bucket with a region
Expand Down

0 comments on commit 296f0a8

Please sign in to comment.