(t *testing.T)
| 37 | } |
| 38 | |
| 39 | func TestCreateController_ExecuteCreate_Users(t *testing.T) { |
| 40 | cfg, _ := setupCreateConfig(t) |
| 41 | |
| 42 | ctrl := NewCreateController(TypeUsers, "newuser", cfg) |
| 43 | ctrl.ExecuteCreate() |
| 44 | |
| 45 | assert.Contains(t, cfg.Main.Users, "newuser") |
| 46 | } |
| 47 | |
| 48 | func TestCreateController_ExecuteCreate_Users_Duplicate(t *testing.T) { |
| 49 | cfg, _ := setupCreateConfig(t) |
nothing calls this directly
no test coverage detected