From b397cf1bd7c0af238cf19cc06c28d2ae347a23d1 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 27 Apr 2026 15:58:35 -0400 Subject: [PATCH] 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. --- tests/unit/network.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/network.bats b/tests/unit/network.bats index db2831c65..166ddd084 100644 --- a/tests/unit/network.bats +++ b/tests/unit/network.bats @@ -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