(t *testing.T)
| 111 | } |
| 112 | |
| 113 | func TestCreateController_ExecuteCreate_Keys(t *testing.T) { |
| 114 | cfg, _ := setupCreateConfig(t) |
| 115 | |
| 116 | ctrl := NewCreateController(TypeKeys, "/path/to/key", cfg) |
| 117 | ctrl.ExecuteCreate() |
| 118 | |
| 119 | assert.Contains(t, cfg.Main.Keys, "/path/to/key") |
| 120 | } |
| 121 | |
| 122 | func TestCreateController_ExecuteCreate_Caches_ValidJSON(t *testing.T) { |
| 123 | cfg, _ := setupCreateConfig(t) |
nothing calls this directly
no test coverage detected