test: pass deploy phase to docker-options:add in udp test
The single-udp network test was calling `docker-options:add $TEST_APP -p 1194:1194` without a phase argument. The bash subcommand silently no-op'd because `-p` is not a recognized phase, so the test happened to pass even though it was not actually setting the option. The go port surfaces the validation error correctly, so the test now needs the proper `deploy` phase to keep working.
This commit is contained in:
@@ -327,7 +327,7 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "(network) handle single-udp app" {
|
||||
run /bin/bash -c "dokku docker-options:add $TEST_APP -p 1194:1194"
|
||||
run /bin/bash -c "dokku docker-options:add $TEST_APP deploy -p 1194:1194"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
|
||||
Reference in New Issue
Block a user