From c7c22d83924f66d4f0a7e6a2b195dcf19a74662a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 25 Oct 2025 07:25:54 -0400 Subject: [PATCH] fix: use plugin:trigger command to test the procfile-get-command trigger --- tests/unit/ps-general-1.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/ps-general-1.bats b/tests/unit/ps-general-1.bats index 38bf03193..05aff2709 100644 --- a/tests/unit/ps-general-1.bats +++ b/tests/unit/ps-general-1.bats @@ -99,12 +99,12 @@ teardown() { web: node web.js --port \$PORT worker: node worker.js EOF - PLUGIN_PATH=/var/lib/dokku/plugins PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available DOKKU_LIB_ROOT=/var/lib/dokku run plugn trigger procfile-get-command "$TEST_APP" web 5001 + run /bin/bash -c "dokku plugin:trigger procfile-get-command '$TEST_APP' web 5001" echo "output: $output" echo "status: $status" assert_output "node web.js --port 5001" - PLUGIN_PATH=/var/lib/dokku/plugins PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available DOKKU_LIB_ROOT=/var/lib/dokku run plugn trigger procfile-get-command "$TEST_APP" worker + run /bin/bash -c "dokku plugin:trigger procfile-get-command '$TEST_APP' worker" echo "output: $output" echo "status: $status" assert_output "node worker.js"