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:
Jose Diaz-Gonzalez
2026-04-27 15:58:35 -04:00
parent 4eb42f1b82
commit b397cf1bd7

View File

@@ -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