Skip to content

Commit

Permalink
test: github-release test fake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Apr 27, 2024
1 parent e5717c1 commit 34fa519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/plugins/github-release.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ setup_suite() {
git config user.name "$GIT_USERNAME"
fi

fake_curl() {
fake_gh() {
# shellcheck disable=SC2317
printf "%s\n" "${GITHUB_TOKEN-}"
# shellcheck disable=SC2317
printf "%s\n" "${FAKE_PARAMS[@]}"
}
export -f fake_curl
export -f fake_gh
export GPG_NO_SIGN=1

fake curl fake_curl
fake gh fake_gh
}

teardown_suite() {
Expand Down

0 comments on commit 34fa519

Please sign in to comment.