(t *testing.T)
| 318 | } |
| 319 | |
| 320 | func TestNewUsersCommand_Run_DuplicateUser(t *testing.T) { |
| 321 | cleanup := setupTempConfig(t) |
| 322 | defer cleanup() |
| 323 | |
| 324 | // First creation |
| 325 | cmd := NewUsersCommand() |
| 326 | cmd.Run(cmd, []string{"testuser"}) |
| 327 | |
| 328 | // Second creation with same name (should still work, controller handles dedup) |
| 329 | cmd2 := NewUsersCommand() |
| 330 | cmd2.Run(cmd2, []string{"testuser"}) |
| 331 | } |
| 332 | |
| 333 | func TestNewPortsCommand_Run_DuplicatePort(t *testing.T) { |
| 334 | cleanup := setupTempConfig(t) |
nothing calls this directly
no test coverage detected