这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions tests/unit/40_nginx-vhosts_2.bats
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ assert_error_log() {
assert_http_success "customtemplate.dokku.me"
}

@test "(nginx-vhosts) nginx:build-config (custom nginx template - custom path)" {
add_domain "www.test.app.dokku.me"
dokku config:set --no-restart $TEST_APP NGINX_CUSTOM_TEMPLATE_PATH=/app/.dokku
echo "output: "$output
echo "status: "$status
deploy_app nodejs-express dokku@dokku.me:$TEST_APP custom_nginx_template .dokku/
assert_nonssl_domain "www.test.app.dokku.me"
assert_http_success "customtemplate.dokku.me"
}

@test "(nginx-vhosts) nginx:build-config (failed validate_nginx)" {
run deploy_app nodejs-express dokku@dokku.me:$TEST_APP bad_custom_nginx_template
echo "output: "$output
Expand Down