tests: fix postdeploy test
This commit is contained in:
1 parent
f98e7702fb
commit
52a88d63ad
2 files changed
+2
-4
No files matched your search
@@ -54,8 +54,8 @@ teardown() {
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
assert_output_contains "touch /app/release.test" 2
|
||||
assert_output_contains "python3 release.py" 2
|
||||
assert_output_contains "touch /app/heroku-postdeploy.test"
|
||||
assert_output_contains "python3 release.py"
|
||||
}
|
||||
|
||||
@test "(app-json) app.json scripts missing" {
|
||||
|
||||
@@ -514,7 +514,6 @@ add_release_command() {
|
||||
echo "release: touch /app/release.test" >>"$APP_REPO_DIR/Procfile"
|
||||
}
|
||||
|
||||
|
||||
add_postdeploy_command() {
|
||||
local APP="$1"
|
||||
local APP_REPO_DIR="$2"
|
||||
@@ -524,7 +523,6 @@ add_postdeploy_command() {
|
||||
echo "${contents}" >"$APP_REPO_DIR/app.json"
|
||||
}
|
||||
|
||||
|
||||
add_requirements_txt() {
|
||||
local APP="$1"
|
||||
local APP_REPO_DIR="$2"
|
||||
|
||||
Reference in new issue
Block a user