(t *testing.T)
| 78 | } |
| 79 | |
| 80 | func TestCreateController_ExecuteCreate_NewPort(t *testing.T) { |
| 81 | cfg, _ := setupCreateConfig(t) |
| 82 | |
| 83 | ctrl := NewCreateController(TypePorts, "3333", cfg) |
| 84 | ctrl.ExecuteCreate() |
| 85 | |
| 86 | assert.Contains(t, cfg.Main.Ports, "3333") |
| 87 | } |
| 88 | |
| 89 | func TestCreateController_ExecuteCreate_Passwords(t *testing.T) { |
| 90 | cfg, _ := setupCreateConfig(t) |
nothing calls this directly
no test coverage detected