From f8946e114792bde80daca9c1914eaa1cf772d1bf Mon Sep 17 00:00:00 2001 From: CleverThis Date: Fri, 10 Apr 2026 20:00:34 +0000 Subject: [PATCH] test(cli): assert container-instance stop mock invocation Extend the devcontainer cleanup Behave scenario for container-instance resources to assert that the stop command delegates to the lifecycle stop mock, providing regression coverage that both container-instance and devcontainer-instance remain stoppable. ISSUES CLOSED: #6457 --- features/devcontainer_cleanup.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/features/devcontainer_cleanup.feature b/features/devcontainer_cleanup.feature index 56a36dddd..8a455d11b 100644 --- a/features/devcontainer_cleanup.feature +++ b/features/devcontainer_cleanup.feature @@ -143,6 +143,7 @@ Feature: Devcontainer Session Cleanup and CLI Commands When I invoke CLI resource stop "local/ctr-stop" Then the CLI exit code should be 0 And the CLI output should contain "Stopped" + And the CLI stop mock should have been called with "01TESTLIFECYCLE0000000370" # ── F6-r6: CLI handler-level error paths ────────────────────