tests: update count to 2 to handle the fact that now the nginx config is built twice
This commit is contained in:
@@ -178,7 +178,7 @@ teardown() {
|
|||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil"
|
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil" 2
|
||||||
|
|
||||||
mv "$CUSTOM_TMP/nginx.conf.sigil" "$CUSTOM_TMP/nginx.conf.sigil-2"
|
mv "$CUSTOM_TMP/nginx.conf.sigil" "$CUSTOM_TMP/nginx.conf.sigil-2"
|
||||||
|
|
||||||
@@ -207,7 +207,7 @@ teardown() {
|
|||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil"
|
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil" 2
|
||||||
|
|
||||||
popd
|
popd
|
||||||
rm -rf "$TMP"
|
rm -rf "$TMP"
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ teardown() {
|
|||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil"
|
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil" 2
|
||||||
|
|
||||||
run /bin/bash -c "dokku nginx:set --global nginx-conf-sigil-path dokku/nginx.conf.sigil"
|
run /bin/bash -c "dokku nginx:set --global nginx-conf-sigil-path dokku/nginx.conf.sigil"
|
||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
@@ -103,7 +103,7 @@ teardown() {
|
|||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil"
|
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil" 2
|
||||||
|
|
||||||
run /bin/bash -c "dokku nginx:set --global nginx-conf-sigil-path"
|
run /bin/bash -c "dokku nginx:set --global nginx-conf-sigil-path"
|
||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
@@ -125,7 +125,7 @@ teardown() {
|
|||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil"
|
assert_output_contains "Overriding default nginx.conf with detected nginx.conf.sigil" 2
|
||||||
|
|
||||||
run /bin/bash -c "docker image rm dokku-test/$TEST_APP:latest dokku-test/$TEST_APP:v2"
|
run /bin/bash -c "docker image rm dokku-test/$TEST_APP:latest dokku-test/$TEST_APP:v2"
|
||||||
echo "output: $output"
|
echo "output: $output"
|
||||||
|
|||||||
Reference in New Issue
Block a user