Skip to content

Commit 73b78a9

Browse files
committed
Add missing unstub to test-action.bats
Closes gh-32
1 parent 08457db commit 73b78a9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rsync-antora-reference/test/test-action.bats

+7
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ usage: action.sh [OPTION]...
141141
assert_program_args "setup_ssh" "--ssh-private-key-path $HOME/.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
142142
assert_program_args "rsync_docs" "--ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path build/site --ssh-private-key-path $HOME/.ssh/spring-projects/spring-security"
143143
assert_program_args "cleanup_ssh" "--ssh-private-key-path $HOME/.ssh/spring-projects/spring-security"
144+
unstub --allow-missing setup_ssh.sh
145+
unstub rsync_docs.sh
146+
unstub cleanup_ssh.sh
144147
}
145148

146149
# had a bug using -e instead of -z
@@ -155,6 +158,10 @@ usage: action.sh [OPTION]...
155158
assert_program_args "setup_ssh" "--ssh-private-key-path $HOME/.ssh/spring-projects/spring-security --ssh-private-key KEY --ssh-known-host HOST_KEY"
156159
assert_program_args "rsync_docs" "--ssh-host USER@HOST --ssh-host-path /opt/www/domains/spring.io/docs/htdocs/spring-security/reference/ --local-path $BATS_TEMP_DIR --ssh-private-key-path $HOME/.ssh/spring-projects/spring-security"
157160
assert_program_args "cleanup_ssh" "--ssh-private-key-path $HOME/.ssh/spring-projects/spring-security"
161+
162+
unstub --allow-missing setup_ssh.sh
163+
unstub rsync_docs.sh
164+
unstub cleanup_ssh.sh
158165
}
159166

160167
@test "dry-run=true" {

0 commit comments

Comments
 (0)