(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestNewCreateController(t *testing.T) { |
| 31 | cfg := newTestMainConfig() |
| 32 | ctrl := NewCreateController(TypeUsers, "root", cfg) |
| 33 | assert.NotNil(t, ctrl) |
| 34 | assert.Equal(t, TypeUsers, ctrl.createType) |
| 35 | assert.Equal(t, "root", ctrl.createContent) |
| 36 | assert.Equal(t, cfg, ctrl.configuration) |
| 37 | } |
| 38 | |
| 39 | func TestCreateController_ExecuteCreate_Users(t *testing.T) { |
| 40 | cfg, _ := setupCreateConfig(t) |
nothing calls this directly
no test coverage detected