add test to certs:add with multiple dots
Add test to certs:add command to allow multiple dots in file name
This commit is contained in:
committed by
GitHub
parent
0c98a34094
commit
b0777a44cb
@@ -33,6 +33,13 @@ teardown() {
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(certs) certs:add with multiple dots in the filename" {
|
||||
run bash -c "dokku certs:add $TEST_APP $BATS_TMPDIR/tls/domain.com.crt $BATS_TMPDIR/tls/domain.com.key"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(certs) certs:add < tar" {
|
||||
run bash -c "dokku certs:add $TEST_APP < $BATS_TEST_DIRNAME/server_ssl.tar"
|
||||
echo "output: "$output
|
||||
|
||||
Reference in New Issue
Block a user