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
This commit is contained in:
@@ -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 ────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user