Skip to content

Commit b8c0aac

Browse files
Remove no longer used input options from tests
1 parent 9f0e851 commit b8c0aac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/git-auto-commit.bats

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ setup() {
3535
export INPUT_TAGGING_MESSAGE=""
3636
export INPUT_PUSH_OPTIONS=""
3737
export INPUT_SKIP_DIRTY_CHECK=false
38-
export INPUT_SKIP_FETCH=false
39-
export INPUT_SKIP_CHECKOUT=false
4038
export INPUT_DISABLE_GLOBBING=false
41-
export INPUT_CREATE_BRANCH=false
4239
export INPUT_INTERNAL_GIT_BINARY=git
4340

4441
# Set GitHub environment variables used by the GitHub Action
@@ -193,7 +190,6 @@ cat_github_output() {
193190
assert_failure
194191

195192
assert_line "INPUT_REPOSITORY value: ${INPUT_REPOSITORY}"
196-
assert_line "INPUT_BRANCH value: ${FAKE_DEFAULT_BRANCH}"
197193
assert_line "INPUT_FILE_PATTERN: ."
198194
assert_line "INPUT_COMMIT_OPTIONS: "
199195
assert_line "::debug::Apply commit options "
@@ -506,7 +502,6 @@ cat_github_output() {
506502
@test "it does not throw an error if not changes are detected and SKIP_DIRTY_CHECK is false" {
507503
INPUT_FILE_PATTERN="."
508504
INPUT_SKIP_DIRTY_CHECK=false
509-
INPUT_SKIP_FETCH=false
510505

511506
run git_auto_commit
512507

@@ -623,7 +618,6 @@ cat_github_output() {
623618
git checkout ${FAKE_DEFAULT_BRANCH}
624619

625620
INPUT_BRANCH="not-existend-remote-branch"
626-
INPUT_CREATE_BRANCH=true
627621

628622
run git branch
629623
assert_line --partial "not-existend-remote-branch"

0 commit comments

Comments
 (0)