diff --git a/tests/apps/nodejs-express/Procfile b/tests/apps/nodejs-express/Procfile index 2dfa137ec..6d278657f 100644 --- a/tests/apps/nodejs-express/Procfile +++ b/tests/apps/nodejs-express/Procfile @@ -6,7 +6,7 @@ cron: node worker.js web: node web.js worker: node worker.js -console: bash +custom: echo -n # Old version with separate processes (use this if you have issues with the threaded version) diff --git a/tests/unit/30_core_1.bats b/tests/unit/30_core_1.bats index 18bd52ef2..c6f2bb794 100644 --- a/tests/unit/30_core_1.bats +++ b/tests/unit/30_core_1.bats @@ -130,12 +130,12 @@ build_nginx_config() { @test "(core) run command from Procfile" { deploy_app - run /bin/bash -c "dokku run $TEST_APP console -c 'echo hi' | tail -n 1" + run /bin/bash -c "dokku run $TEST_APP custom 'hi dokku' | tail -n 1" echo "output: "$output echo "status: "$status assert_success - assert_output "hi" + assert_output 'hi dokku' } @test "(core) port exposure (dockerfile raw port)" {