Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lrm25 committed Dec 16, 2024
1 parent 71bf7ab commit 32d741c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions tests/util/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ add_governance_bypass_policy() {
log 2 "'add governance bypass policy' command requires bucket name"
return 1
fi
if [[ -z "$GITHUB_ACTIONS" ]]; then
if ! create_test_file_folder; then
log 2 "error creating test file folder"
return 1
fi
fi
cat <<EOF > "$TEST_FILE_FOLDER/policy-bypass-governance.txt"
{
"Version": "2012-10-17",
Expand Down
4 changes: 0 additions & 4 deletions tests/util/util_users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ put_user_policy() {
log 2 "attaching user policy requires user ID, role, bucket name"
return 1
fi
if [[ -z "$TEST_FILE_FOLDER" ]] && [[ -z "$GITHUB_ACTIONS" ]] && ! create_test_file_folder; then
log 2 "unable to create test file folder"
return 1
fi

case $2 in
"user")
Expand Down

0 comments on commit 32d741c

Please sign in to comment.