From aa342df0a63c68841c9ab31b5dc9294973fea060 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sun, 26 Nov 2023 09:10:32 +0300 Subject: [PATCH] fixed actions with new "unregister" implementation(3) Signed-off-by: Alexander Piskun --- tests/test_occ_commands_docker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_occ_commands_docker.py b/tests/test_occ_commands_docker.py index b17e2645..ccbb9a2a 100644 --- a/tests/test_occ_commands_docker.py +++ b/tests/test_occ_commands_docker.py @@ -53,7 +53,9 @@ def deploy_register(): assert r.returncode # test "--force" option deploy_register() - run("docker container stop nc_app_skeleton".split(), check=True) + run("docker container rm --force nc_app_skeleton".split(), check=True) r = run("php occ app_api:app:unregister skeleton".split()) assert r.returncode + r = run("php occ app_api:app:unregister skeleton --silent".split()) + assert r.returncode run("php occ app_api:app:unregister skeleton --force".split(), check=True)