From ef7ed3253560552af2f53a0d3decc9e4925bac9e Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Wed, 20 Dec 2023 20:03:21 +0100 Subject: [PATCH] Remove no longer needed tests --- tests/git-auto-commit.bats | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tests/git-auto-commit.bats b/tests/git-auto-commit.bats index 3d5c558..5a80675 100644 --- a/tests/git-auto-commit.bats +++ b/tests/git-auto-commit.bats @@ -407,32 +407,6 @@ cat_github_output() { assert_output --partial refs/tags/v2.0.0 } -@test "If SKIP_FETCH is true git-fetch will not be called" { - - touch "${FAKE_LOCAL_REPOSITORY}"/new-file-{1,2,3}.txt - - INPUT_SKIP_FETCH=true - - run git_auto_commit - - assert_success - - assert_line "::debug::git-fetch will not be executed." -} - -@test "If SKIP_CHECKOUT is true git-checkout will not be called" { - - touch "${FAKE_LOCAL_REPOSITORY}"/new-file-{1,2,3}.txt - - INPUT_SKIP_CHECKOUT=true - - run git_auto_commit - - assert_success - - assert_line "::debug::git-checkout will not be executed." -} - @test "It pushes generated commit and tag to remote and actually updates the commit shas" { INPUT_BRANCH="" INPUT_TAGGING_MESSAGE="v2.0.0"