From 8746e38fc498f7926ab2cc20827b365f629d2ea9 Mon Sep 17 00:00:00 2001 From: Franck Terray Date: Wed, 21 Feb 2024 14:51:24 +0000 Subject: [PATCH] update tests --- tests/command.bats | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/command.bats b/tests/command.bats index 50670a3..9a9e0e0 100644 --- a/tests/command.bats +++ b/tests/command.bats @@ -17,7 +17,6 @@ load "${BATS_PLUGIN_PATH}/load.bash" stub buildkite-agent \ "artifact download \* \* : echo Downloaded artifact \$3 to \$4" stub make \ - "build : echo Building App using make" \ "run : echo Run App using make" run "$PWD/hooks/command" @@ -27,8 +26,6 @@ load "${BATS_PLUGIN_PATH}/load.bash" assert_output --partial "Missing \$SLACK_TOKEN_ENV_NAME environment variable... looking for alternative" assert_output --partial "--- :junit: Download the junits XML" assert_output --partial "Downloaded artifact to /plugin/junits-slack-notification-plugin-artifacts-tmp" - assert_output --partial "--- Compile Typescript" - assert_output --partial "Building App using make" assert_output --partial "--- Send message to #junit_bot_testing" assert_output --partial "Run App using make" @@ -47,7 +44,6 @@ load "${BATS_PLUGIN_PATH}/load.bash" stub buildkite-agent \ "artifact download \* \* : echo Downloaded artifact \$3 to \$4" stub make \ - "build : echo Building App using make" \ "run : echo Run App using make" @@ -57,8 +53,6 @@ load "${BATS_PLUGIN_PATH}/load.bash" assert_output --partial "--- :junit: Download the junits XML" assert_output --partial "Downloaded artifact to /plugin/junits-slack-notification-plugin-artifacts-tmp" - assert_output --partial "--- Compile Typescript" - assert_output --partial "Building App using make" assert_output --partial "--- Send message to #junit_bot_testing" assert_output --partial "Run App using make" @@ -78,7 +72,6 @@ load "${BATS_PLUGIN_PATH}/load.bash" stub buildkite-agent \ "artifact download \* \* : echo Downloaded artifact \$3 to \$4" stub make \ - "build : echo Building App using make" \ "run : echo Run App using make" run "$PWD/hooks/command" @@ -87,8 +80,6 @@ load "${BATS_PLUGIN_PATH}/load.bash" assert_output --partial "--- :junit: Download the junits XML" assert_output --partial "Downloaded artifact to /plugin/junits-slack-notification-plugin-artifacts-tmp" - assert_output --partial "--- Compile Typescript" - assert_output --partial "Building App using make" assert_output --partial "--- Send message to #junit_bot_testing" assert_output --partial "Run App using make"